summaryrefslogtreecommitdiff
path: root/community/gdesklets/PKGBUILD
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-05-28 03:31:41 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-05-28 03:31:41 +0000
commitfc3a052d9f439abcf0ce424b7d45b682a5377087 (patch)
treee30cf804e2126c73de97abfb7a4819dd8aa092f8 /community/gdesklets/PKGBUILD
parent266ddb4aa9aed9a6a66b5eb9e17da710e66c4987 (diff)
Wed May 28 03:24:53 UTC 2014
Diffstat (limited to 'community/gdesklets/PKGBUILD')
-rw-r--r--community/gdesklets/PKGBUILD21
1 files changed, 15 insertions, 6 deletions
diff --git a/community/gdesklets/PKGBUILD b/community/gdesklets/PKGBUILD
index e2912ffb6..9c8b6b271 100644
--- a/community/gdesklets/PKGBUILD
+++ b/community/gdesklets/PKGBUILD
@@ -1,14 +1,14 @@
-# $Id: PKGBUILD 108981 2014-04-08 16:45:39Z bgyorgy $
+# $Id: PKGBUILD 111943 2014-05-27 08:42:54Z jgc $
# 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
+pkgrel=5
pkgdesc="System for bringing mini programs (desklets) onto your desktop"
arch=('i686' 'x86_64')
-url="http://gdesklets.de/"
+url="https://launchpad.net/gdesklets"
license=('GPL')
depends=('libgtop' 'librsvg' 'pygtk' 'desktop-file-utils' 'gnome-icon-theme' 'xdg-utils')
makedepends=('gnome-python' 'intltool')
@@ -22,16 +22,26 @@ md5sums=('60c0c4e7301b3e653702b6fe5bf7e698'
'55ac07d16a571f29033495307c4d0f0c'
'45e81dd0fb20157bb840d006c3a4e2ea')
-build() {
+prepare() {
cd "$srcdir/$pkgname-$pkgver"
+
+ # Build fix
patch -Np0 -i "$srcdir/gdesklets-core-0.36.3-.in-files.patch"
+
+ # Runtime fix without gnome-vfs
patch -Np1 -i "$srcdir/fix-vfs.patch"
- # https://code.launchpad.net/~ballogy/gdesklets/optional-use-gconf-appindicator/+merge/95809
+
+ # Make gconf dependency optional
patch -Np1 -i "$srcdir/make-gconf-optional.patch"
+ # Python2 fix
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
+}
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
autoreconf -fi
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
@@ -42,6 +52,5 @@ build() {
package() {
cd "$srcdir/$pkgname-$pkgver"
-
make DESTDIR="$pkgdir/" install
}