diff options
author | Stefano Karapetsas <[email protected]> | 2011-12-23 22:59:38 +0100 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2011-12-23 22:59:38 +0100 |
commit | c3b4e76655aa6b675ba01f5af12ff375a8cd2a8c (patch) | |
tree | 75184910d196fafd90dcd2a53bf0179c07120307 /distro/linuxmint/build.sh | |
download | mate-indicator-applet-c3b4e76655aa6b675ba01f5af12ff375a8cd2a8c.tar.bz2 mate-indicator-applet-c3b4e76655aa6b675ba01f5af12ff375a8cd2a8c.tar.xz |
import from Mate-Extra repository
Diffstat (limited to 'distro/linuxmint/build.sh')
-rwxr-xr-x | distro/linuxmint/build.sh | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/distro/linuxmint/build.sh b/distro/linuxmint/build.sh new file mode 100755 index 0000000..3bca5a7 --- /dev/null +++ b/distro/linuxmint/build.sh @@ -0,0 +1,33 @@ +#!/bin/bash + +# fill it +pkgname=mate-indicator-applet +pkgver=2011.12.01 +pkgrel=1 +pkgdesc="The MATE Indicator Applet" +#depends="gstreamer0.10-base-plugins, mate-panel, mate-character-map, libgtop, libmatenotify, cpufrequtils" +# editar esta funcion! + +curdir=`pwd` +srcdir=${curdir}/../.. +pkgdir=${curdir}/pkg-content +echo ${srcdir} +cd ${srcdir} + +make clean + +rm -rf ${pkgdir}/* + +./configure --prefix=/usr --sysconfdir=/etc --disable-static \ + --localstatedir=/var --disable-scrollkeeper || return 1 + +make || return 1 + +make MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install || return 1 + +install -m755 -d "${pkgdir}/usr/share/mateconf/schemas" +mateconf-merge-schema "${pkgdir}/usr/share/mateconf/schemas/${pkgname}.schemas" --domain ${pkgname} ${pkgdir}/etc/mateconf/schemas/*.schemas || return 1 +rm -f ${pkgdir}/etc/mateconf/schemas/*.schemas + +cd ${curdir} +dpkg-buildpackage |