summaryrefslogtreecommitdiff
path: root/pcr/lxappearance-gtk3/PKGBUILD
diff options
context:
space:
mode:
authorAurelien Desbrieres <aurelien@hackers.camp>2014-12-18 14:48:30 +0100
committerAurelien Desbrieres <aurelien@hackers.camp>2014-12-18 14:48:30 +0100
commitd0a02bafd5e80e31679259166ca5b4faf0fe5287 (patch)
treee2c4d41f7895ff474199cab44bda3632b38139be /pcr/lxappearance-gtk3/PKGBUILD
parent3605270bdc98b3d4ac973eead454c2dcd6d24072 (diff)
downloadabslibre-d0a02bafd5e80e31679259166ca5b4faf0fe5287.tar.gz
abslibre-d0a02bafd5e80e31679259166ca5b4faf0fe5287.tar.bz2
abslibre-d0a02bafd5e80e31679259166ca5b4faf0fe5287.zip
Feature-rich GTK+ theme switcher of the LXDE Desktop (GTK+ 3 version)
Diffstat (limited to 'pcr/lxappearance-gtk3/PKGBUILD')
-rw-r--r--pcr/lxappearance-gtk3/PKGBUILD47
1 files changed, 47 insertions, 0 deletions
diff --git a/pcr/lxappearance-gtk3/PKGBUILD b/pcr/lxappearance-gtk3/PKGBUILD
new file mode 100644
index 000000000..210037f22
--- /dev/null
+++ b/pcr/lxappearance-gtk3/PKGBUILD
@@ -0,0 +1,47 @@
+#$Id$
+# Maintainer : Aurelien Desbrieres <aurelien@hackers.camp>
+# Contributor: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
+# Contributor: Angel Velasquez <angvp@archlinux.org>
+# Contributor: Geoffroy Carrier <geoffroy.carrier@koon.fr>
+
+pkgname=lxappearance-gtk3
+_pkgname=lxappearance
+pkgver=0.6.1
+pkgrel=1
+pkgdesc='Feature-rich GTK+ theme switcher of the LXDE Desktop (GTK+ 3 version)'
+arch=('i686' 'x86_64')
+license=('GPL2')
+url='http://lxde.org/'
+groups=('lxde-gtk3')
+depends=('gtk3')
+makedepends=('intltool' 'dbus-glib')
+conflicts=($_pkgname)
+provides=($_pkgname)
+source=(http://downloads.sourceforge.net/lxde/$_pkgname-$pkgver.tar.xz
+ 0001-Substitute-the-correct-GTK-version-in-pkgconfig-file.patch
+ 0002-Fix-About-dialog-for-GTK-3.patch)
+
+prepare() {
+ cd $_pkgname-$pkgver
+
+ # Substitute the correct GTK+ version in pkgconfig file
+ patch -Np1 -i ../0001-Substitute-the-correct-GTK-version-in-pkgconfig-file.patch
+
+ # Fix About dialog for GTK+ 3
+ patch -Np1 -i ../0002-Fix-About-dialog-for-GTK-3.patch
+
+ autoreconf -fi
+}
+
+build() {
+ cd $_pkgname-$pkgver
+ ./configure --sysconfdir=/etc --prefix=/usr \
+ --enable-dbus --enable-gtk3
+ make
+}
+
+package() {
+ cd $_pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+}