diff options
author | Stefano Karapetsas <[email protected]> | 2011-12-11 12:55:19 +0100 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2011-12-11 12:55:19 +0100 |
commit | 51175189c6d7313a3b84019e39496f957c4e6164 (patch) | |
tree | e4c2c130fa3140bca28685ef900f04a012e53dcd /distro/archlinux/PKGBUILD | |
download | mate-power-manager-51175189c6d7313a3b84019e39496f957c4e6164.tar.bz2 mate-power-manager-51175189c6d7313a3b84019e39496f957c4e6164.tar.xz |
moved from Mate-Extra
Diffstat (limited to 'distro/archlinux/PKGBUILD')
-rw-r--r-- | distro/archlinux/PKGBUILD | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/distro/archlinux/PKGBUILD b/distro/archlinux/PKGBUILD new file mode 100644 index 0000000..3bed798 --- /dev/null +++ b/distro/archlinux/PKGBUILD @@ -0,0 +1,38 @@ +pkgname=mate-power-manager +pkgver=2011.12.01 +pkgrel=1 +pkgdesc="Session daemon that makes it easy to manage your laptop or desktop system for Mate Desktop" +arch=('i686' 'x86_64') +license=('GPL') +depends=('libmatenotify' 'libunique' 'libcanberra' 'hicolor-icon-theme' 'upower' 'libmatekeyring') +makedepends=('intltool' 'pkgconfig' 'mate-doc-utils' 'mate-panel' 'mate-control-center') +options=('!emptydirs') +install=mate-power-manager.install +url="http://matsusoft.com.ar/projects" +groups=('mate-extras') +source=(http://sourceforge.net/projects/matede/files/${pkgver}/${pkgname}.tar.gz/download) +sha256sums=('2a48bf5930740a7dfa3a380a215b55ef2975256f75ada45915c1f210641ff3bb') + +build() { + cd "${srcdir}/${pkgname}" + + ./configure --prefix=/usr --sysconfdir=/etc \ + --localstatedir=/var \ + --libexecdir=/usr/lib/${pkgname} \ + --disable-scrollkeeper || return 1 + #--enable-applets + #--with-dbus-services=/usr/share/dbus-1/services \ + #--with-dpms-ext \ + + make || return 1 +} + +package() { + cd "$srcdir/$pkgname" + + 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 +} |