[arch-commits] Commit in gtk-xfce-engine/trunk (PKGBUILD)

Evangelos Foutras foutrelis at archlinux.org
Sun Mar 1 06:56:13 UTC 2015


    Date: Sunday, March 1, 2015 @ 07:56:12
  Author: foutrelis
Revision: 232151

upgpkg: gtk-xfce-engine 2.10.0-1

New upstream release.

Modified:
  gtk-xfce-engine/trunk/PKGBUILD

----------+
 PKGBUILD |   44 +++++++++++++-------------------------------
 1 file changed, 13 insertions(+), 31 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-03-01 06:54:12 UTC (rev 232150)
+++ PKGBUILD	2015-03-01 06:56:12 UTC (rev 232151)
@@ -2,20 +2,23 @@
 # Maintainer: Evangelos Foutras <evangelos at foutrelis.com>
 # Contributor: tobias <tobias funnychar archlinux.org>
 
-pkgbase=gtk-xfce-engine
-pkgname=('gtk2-xfce-engine' 'gtk3-xfce-engine')
-pkgver=3.0.1
-pkgrel=2
+pkgname=gtk-xfce-engine
+pkgver=2.10.0
+pkgrel=1
+pkgdesc="Xfce Gtk+-2.0 engine and themes"
 arch=('i686' 'x86_64')
 url="http://www.xfce.org/"
 license=('GPL2')
 groups=('xfce4')
-makedepends=('gtk2' 'gtk3')
-source=(http://archive.xfce.org/src/xfce/$pkgbase/3.0/$pkgbase-$pkgver.tar.bz2)
-sha256sums=('eb03cf81da1a91e426a2141c092ed7a1634cab29ea2f3546480e901290a7a06d')
+depends=('gtk2')
+provides=("gtk2-xfce-engine=$pkgver-$pkgrel")
+conflicts=('gtk2-xfce-engine')
+replaces=('gtk2-xfce-engine' 'gtk3-xfce-engine')
+source=(http://archive.xfce.org/src/xfce/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2)
+sha256sums=('c1c3b301bd2f2eecf9bb0500d88d96c04ba37bf44d3971f951f4d3d0bbb41967')
 
 build() {
-  cd "$srcdir/$pkgbase-$pkgver"
+  cd "$srcdir/$pkgname-$pkgver"
 
   ./configure \
     --prefix=/usr \
@@ -27,30 +30,9 @@
   make
 }
 
-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"
+package() {
+  cd "$srcdir/$pkgname-$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:



More information about the arch-commits mailing list