[arch-commits] Commit in libx86/trunk (PKGBUILD)

Thayer Williams thayer at archlinux.org
Thu Dec 11 16:58:16 UTC 2008


    Date: Thursday, December 11, 2008 @ 11:58:16
  Author: thayer
Revision: 21249

upgpkg: libx86 1.1-2
    set proper permissions on libx86.a

Modified:
  libx86/trunk/PKGBUILD

----------+
 PKGBUILD |    7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2008-12-11 13:45:25 UTC (rev 21248)
+++ PKGBUILD	2008-12-11 16:58:16 UTC (rev 21249)
@@ -5,11 +5,11 @@
 
 pkgname=libx86
 pkgver=1.1
-pkgrel=1
+pkgrel=2
 pkgdesc="Provides an lrmi interface that works on x86, am64 and alpha"
+arch=('i686' 'x86_64')
 url="http://www.codon.org.uk/~mjg59/libx86/"
 license=('custom')
-arch=('i686' 'x86_64')
 depends=('glibc')
 source=(http://www.codon.org.uk/~mjg59/libx86/downloads/libx86-$pkgver.tar.gz 
         libx86-ifmask.patch)
@@ -22,6 +22,7 @@
   # lrmi.c patch courtesy of Gentoo
   patch -Np0 -i $srcdir/libx86-ifmask.patch || return 1
 
+  # compensate for x86_64
   if [ "$CARCH" = "x86_64" ]; then
 		make BACKEND=x86emu || return 1
     else
@@ -29,5 +30,7 @@
   fi
 
   make DESTDIR=$pkgdir install || return 1
+  chmod 644 $pkgdir/usr/lib/libx86.a || return 1
+
   install -D -m 644 COPYRIGHT $pkgdir/usr/share/licenses/$pkgname/COPYRIGHT || return 1
 }




More information about the arch-commits mailing list