[arch-commits] CVS update of extra/lib/libx86 (PKGBUILD)

Eric Belanger eric at archlinux.org
Tue Jul 3 02:23:15 UTC 2007


    Date: Monday, July 2, 2007 @ 22:23:15
  Author: eric
    Path: /home/cvs-extra/extra/lib/libx86

   Added: PKGBUILD (1.1)

upgpkg: libx86 0.99-1
initial addition, required to build ddcxinfo-arch on x86_64


----------+
 PKGBUILD |   25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)


Index: extra/lib/libx86/PKGBUILD
diff -u /dev/null extra/lib/libx86/PKGBUILD:1.1
--- /dev/null	Mon Jul  2 22:23:15 2007
+++ extra/lib/libx86/PKGBUILD	Mon Jul  2 22:23:15 2007
@@ -0,0 +1,25 @@
+# $Id: PKGBUILD,v 1.1 2007/07/03 02:23:15 eric Exp $
+# Maintainer: Eric Belanger <eric at archlinux.org>
+# Contributor: tardo <tardo at nagi-fanboi.net>
+
+pkgname=libx86
+pkgver=0.99
+pkgrel=1
+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')
+depends=('glibc')
+source=(http://www.codon.org.uk/~mjg59/libx86/downloads/libx86-$pkgver.tar.gz)
+md5sums=('c426d4f29fdf3499158cf49d4f374315')
+
+build() {
+  cd $startdir/src/$pkgname-$pkgver
+  if [ "$CARCH" = "x86_64" ]; then
+		make BACKEND=x86emu || return 1
+    else
+	  make || return 1
+  fi
+  make DESTDIR=$startdir/pkg install
+  install -D -m 644 COPYRIGHT $startdir/pkg/usr/share/licenses/$pkgname/COPYRIGHT
+}




More information about the arch-commits mailing list