[arch-commits] Commit in libxmu/repos (extra-x86_64 extra-x86_64/PKGBUILD)

Eric Bélanger eric at archlinux.org
Tue Nov 25 23:17:39 UTC 2008


    Date: Tuesday, November 25, 2008 @ 18:17:38
  Author: eric
Revision: 19526

Merged revisions 356,4518,19484 via svnmerge from 
svn+ssh://svn.archlinux.org/srv/svn-packages/libxmu/trunk

........
  r356 | aaron | 2008-04-18 18:56:27 -0400 (Fri, 18 Apr 2008) | 1 line
  
  Added svn:keywords to all PKGBUILDs
........
  r4518 | ronald | 2008-07-07 17:39:39 -0400 (Mon, 07 Jul 2008) | 1 line
  
  fix license
........
  r19484 | hugo | 2008-11-24 08:35:08 -0500 (Mon, 24 Nov 2008) | 2 lines
  
  upgpkg: libxmu 1.0.4-2
      fixing FS#12210
........

Modified:
  libxmu/repos/extra-x86_64/	(properties)
  libxmu/repos/extra-x86_64/PKGBUILD

----------+
 PKGBUILD |   15 +++++++++++----
 1 file changed, 11 insertions(+), 4 deletions(-)


Property changes on: libxmu/repos/extra-x86_64
___________________________________________________________________
Modified: svnmerge-integrated
   - /libxmu/trunk:1
   + /libxmu/trunk:1-19525

Modified: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD	2008-11-25 22:23:46 UTC (rev 19525)
+++ extra-x86_64/PKGBUILD	2008-11-25 23:17:38 UTC (rev 19526)
@@ -3,21 +3,28 @@
 # Contributor: Jan de Groot <jgc at archlinux.org>
 pkgname=libxmu
 pkgver=1.0.4
-pkgrel=1
+pkgrel=2
 pkgdesc="X11 miscellaneous micro-utility library"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64')
 url="http://xorg.freedesktop.org/"
 depends=('libxext' 'libxt')
 makedepends=('pkgconfig')
+license=('custom')
 options=('!libtool')
 source=(${url}/releases/individual/lib/libXmu-${pkgver}.tar.bz2)
+md5sums=('fb372a5f3ab42b5ba16d7af4d833a0cb')
 
 build() {
   cd ${startdir}/src/libXmu-${pkgver}
+
+  [ $CARCH == "x86_64" ] && export CFLAGS="$CFLAGS -fPIC"
+
   ./configure --prefix=/usr --sysconfdir=/etc \
               --host=${CHOST} --build=${CHOST}
   make || return 1
   make DESTDIR=${startdir}/pkg install || return 1
+
+# install custom license
+install -Dm644 $srcdir/libXmu-$pkgver/COPYING \
+	$pkgdir/usr/share/licenses/$pkgname/COPYING
 }
-md5sums=('fb372a5f3ab42b5ba16d7af4d833a0cb')
-md5sums=('fb372a5f3ab42b5ba16d7af4d833a0cb')




More information about the arch-commits mailing list