diff options
author | root <root@rshg047.dnsready.net> | 2011-05-14 22:37:30 +0000 |
---|---|---|
committer | root <root@rshg047.dnsready.net> | 2011-05-14 22:37:30 +0000 |
commit | e69c538fc7af5a9861c7688dd15913082d978180 (patch) | |
tree | f193cf26628a71f1c474227fa6c429713558f0a2 /community/gnome-packagekit/PKGBUILD | |
parent | 2c4629f613c001fd29740d0f4c0e497c771a2182 (diff) |
Sat May 14 22:37:30 UTC 2011
Diffstat (limited to 'community/gnome-packagekit/PKGBUILD')
-rw-r--r-- | community/gnome-packagekit/PKGBUILD | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/community/gnome-packagekit/PKGBUILD b/community/gnome-packagekit/PKGBUILD new file mode 100644 index 000000000..cd517d218 --- /dev/null +++ b/community/gnome-packagekit/PKGBUILD @@ -0,0 +1,43 @@ +# $Id: PKGBUILD 47009 2011-05-14 01:24:52Z jconder $ +# Maintainer: Jonathan Conder <jonno.conder@gmail.com> + +pkgname=gnome-packagekit +pkgver=3.0.0 +pkgrel=2 +pkgdesc='Collection of graphical tools for PackageKit to be used in the GNOME desktop' +arch=('i686' 'x86_64') +url='http://www.packagekit.org/' +license=('GPL') +depends=('dconf' 'desktop-file-utils' 'gnome-menus' 'gtk3' + 'hicolor-icon-theme' 'libnotify' 'packagekit') +makedepends=('gconf' 'gtk-doc' 'intltool' 'libcanberra' 'upower') +optdepends=('gnome-settings-daemon-updates: update and message notifications') +options=('!emptydirs' '!libtool') +install="$pkgname.install" +source=("http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2" + 'arch.patch') +sha256sums=('838ca07168dbf7f29fc83ff3c0ef570e7703082d44f5607b09af01972fc52a49' + '9c809ac3c8bbf870442e7bc4123c70b144930a287b28626be1b8bae95edf71ac') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + patch -Np1 -i "$srcdir/arch.patch" + sed -i 's@python@python2@' 'python/enum-convertor.py' + + export PYTHON=/usr/bin/python2 + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --disable-gtk-doc \ + --disable-schemas-compile \ + --disable-scrollkeeper + make -s +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + make -s DESTDIR="$pkgdir" install + + rm -rf "$pkgdir/usr/lib/gnome-settings-daemon-3.0/gtk-modules" +} |