summaryrefslogtreecommitdiff
path: root/extra/gtk-xfce-engine
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2012-01-27 14:27:56 +0100
committerMichał Masłowski <mtjm@mtjm.eu>2012-01-27 14:27:56 +0100
commit6cc3a23ea1231ea627394677df2bebdc403acb38 (patch)
tree14c20984a10df92c0b5cbb3b4477f0358cf8b01f /extra/gtk-xfce-engine
parent8e40bdbb2496be15fdba2e683af427bc2333be42 (diff)
parent3741146d50cb93e8985f8aac937e36d35ee76446 (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts: community-staging/torcs/PKGBUILD community/fceux/PKGBUILD core/gcc/PKGBUILD core/wireless_tools/PKGBUILD extra/gtk-xfce-engine/PKGBUILD extra/gtk2/PKGBUILD multilib-testing/lib32-glibc/PKGBUILD multilib/gcc-multilib/PKGBUILD multilib/lib32-sdl/PKGBUILD testing/kdebase-runtime/PKGBUILD testing/kdelibs/PKGBUILD testing/libarchive/PKGBUILD testing/systemd/PKGBUILD testing/systemd/systemd.install testing/udev/PKGBUILD
Diffstat (limited to 'extra/gtk-xfce-engine')
-rw-r--r--extra/gtk-xfce-engine/PKGBUILD40
1 files changed, 30 insertions, 10 deletions
diff --git a/extra/gtk-xfce-engine/PKGBUILD b/extra/gtk-xfce-engine/PKGBUILD
index 4100b803c..f6277c090 100644
--- a/extra/gtk-xfce-engine/PKGBUILD
+++ b/extra/gtk-xfce-engine/PKGBUILD
@@ -1,23 +1,22 @@
-# $Id: PKGBUILD 145294 2011-12-21 11:46:17Z foutrelis $
+# $Id: PKGBUILD 147260 2012-01-25 08:34:39Z foutrelis $
# Maintainer: Evangelos Foutras <evangelos@foutrelis.com>
# Contributor: tobias <tobias funnychar archlinux.org>
-pkgname=gtk-xfce-engine
+pkgbase=gtk-xfce-engine
+pkgname=('gtk2-xfce-engine' 'gtk3-xfce-engine')
pkgver=2.99.0
-pkgrel=1
-pkgdesc="Xfce Gtk+-2.0 and Gtk+-3.0 engines"
+pkgrel=2
arch=('i686' 'x86_64' 'mips64el')
url="http://www.xfce.org/"
license=('GPL2')
groups=('xfce4')
-depends=('gtk2' 'gtk3')
-makedepends=('pkgconfig')
+makedepends=('gtk2' 'gtk3')
options=('!libtool')
-source=(http://archive.xfce.org/src/xfce/$pkgname/2.99/$pkgname-$pkgver.tar.bz2)
+source=(http://archive.xfce.org/src/xfce/$pkgbase/2.99/$pkgbase-$pkgver.tar.bz2)
sha256sums=('27bee5a68527d214cfda9b99d4ba68d39b6d341202bc728d0ddd170a73cde154')
build() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "$srcdir/$pkgbase-$pkgver"
./configure \
--prefix=/usr \
@@ -29,9 +28,30 @@ build() {
make
}
-package() {
- cd "$srcdir/$pkgname-$pkgver"
+package_gtk2-xfce-engine() {
+ pkgdesc="Xfce Gtk+-2.0 engine"
+ depends=('gtk2')
+ provides=("gtk-xfce-engine=$pkgver-$pkgrel")
+ conflicts=('gtk-xfce-engine')
+ replaces=('gtk-xfce-engine')
+
+ cd "$srcdir/$pkgbase-$pkgver"
make DESTDIR="$pkgdir" install
+
+ # Remove gtk3 engine and themes
+ find "$pkgdir" -name gtk-3.0 -exec rm -r {} +
+}
+
+package_gtk3-xfce-engine() {
+ pkgdesc="Xfce Gtk+-3.0 engine"
+ depends=('gtk3')
+ conflicts=('gtk-xfce-engine<=2.99.0-1')
+
+ cd "$srcdir/$pkgbase-$pkgver"
+ make DESTDIR="$pkgdir" install
+
+ # Remove gtk2 engine and themes
+ find "$pkgdir" -name gtk-2.0 -exec rm -r {} +
}
# vim:set ts=2 sw=2 et: