[arch-commits] CVS update of extra/x11/metatheme (PKGBUILD)

Eric Belanger eric at archlinux.org
Thu Dec 6 17:21:17 EST 2007


    Date: Thursday, December 6, 2007 @ 17:21:17
  Author: eric
    Path: /home/cvs-extra/extra/x11/metatheme

Modified: PKGBUILD (1.5 -> 1.6)

upgpkg: metatheme 0.0.6-2
initial port to x86_64, added arch field, fixed license, misc. minor updates


----------+
 PKGBUILD |   13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)


Index: extra/x11/metatheme/PKGBUILD
diff -u extra/x11/metatheme/PKGBUILD:1.5 extra/x11/metatheme/PKGBUILD:1.6
--- extra/x11/metatheme/PKGBUILD:1.5	Sun Oct  2 11:55:08 2005
+++ extra/x11/metatheme/PKGBUILD	Thu Dec  6 17:21:16 2007
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD,v 1.5 2005/10/02 15:55:08 damir Exp $
+# $Id: PKGBUILD,v 1.6 2007/12/06 22:21:16 eric Exp $
 # Maintainer: damir <damir at archlinux.org>
 # Contributor: damir <damir at archlinux.org>
 
@@ -6,18 +6,21 @@
 pkgver=0.0.6
 pkgrel=2
 pkgdesc="a thin layer between QT+GTK2 toolkits and theme engines, creating unified API by which each theme engine can draw"
+arch=('i686' 'x86_64')
 url="http://metatheme.advel.cz/"
-license="gpl"
+license=('GPL')
 depends=('kdelibs' 'gtk2')
-makedepends=('j2sdk')
-source=($url/download/$pkgname-$pkgver.tar.bz2)
+makedepends=('jdk')
+options=('!libtool')
+source=(http://metatheme.advel.cz/download/$pkgname-$pkgver.tar.bz2)
+md5sums=('f66ae2414001b18c5e4d17e4ba9ef353')
 install=$pkgname.install
 
 build() {
   cd $startdir/src/$pkgname-$pkgver
+  [ "$CARCH" = "x86_64" ] && CFLAGS="${CFLAGS} -fPIC"
   ./configure --prefix=/usr
   make || return 1
   sed -i '543,545s/^/# /' toolkits/java/Makefile # disable broken swing default metatheme config (arch is not having a swing.properties file per default)
   make DESTDIR=$startdir/pkg install || return 1
-  find $startdir/pkg -name '*.la' -exec rm {} \;
 }




More information about the arch-commits mailing list