diff options
author | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
commit | 8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch) | |
tree | 03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/gdesklets/PKGBUILD | |
parent | e445a313723389ba9ee1fded025c567dae5b21ea (diff) |
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/gdesklets/PKGBUILD')
-rw-r--r-- | community/gdesklets/PKGBUILD | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/community/gdesklets/PKGBUILD b/community/gdesklets/PKGBUILD new file mode 100644 index 000000000..197781d7c --- /dev/null +++ b/community/gdesklets/PKGBUILD @@ -0,0 +1,48 @@ +# $Id: PKGBUILD 68406 2012-03-24 09:48:30Z bgyorgy $ +# Maintainer: Balló György <ballogyor+arch at gmail dot com> +# Contributor: nifan <carlos@nifan.tk> +# Contributor: Roman Kyrylych <roman@archlinux.org> + +pkgname=gdesklets +pkgver=0.36.3 +pkgrel=4 +pkgdesc="System for bringing mini programs (desklets) onto your desktop" +arch=('i686' 'x86_64') +url="http://gdesklets.de/" +license=('GPL') +depends=('libgtop' 'librsvg' 'pygtk' 'desktop-file-utils' 'gnome-icon-theme' 'xdg-utils') +makedepends=('gnome-python' 'intltool') +options=(!libtool) +install=$pkgname.install +source=(http://gdesklets.de/files/$pkgname-$pkgver.tar.bz2 + gdesklets-core-0.36.3-.in-files.patch + fix-vfs.patch + make-gconf-optional.patch) +md5sums=('60c0c4e7301b3e653702b6fe5bf7e698' + '27839bbefc2f6664ff31cff2d48dfeed' + '55ac07d16a571f29033495307c4d0f0c' + '45e81dd0fb20157bb840d006c3a4e2ea') + +build() { + cd "$srcdir/$pkgname-$pkgver" + patch -Np0 -i "$srcdir/gdesklets-core-0.36.3-.in-files.patch" + patch -Np1 -i "$srcdir/fix-vfs.patch" + # https://code.launchpad.net/~ballogy/gdesklets/optional-use-gconf-appindicator/+merge/95809 + patch -Np1 -i "$srcdir/make-gconf-optional.patch" + + find . -type f | xargs sed -i 's@^#!.*python$@#!/usr/bin/python2@' + sed -i 's/python -c/$PYTHON -c/' configure.ac + sed -i 's/python/python2/' shell/plugins/PackageInstaller/__init__.py + + autoreconf -fi + ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ + --disable-static \ + PYTHON=python2 + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + make DESTDIR="$pkgdir/" install +} |