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

Alexander Rødseth arodseth at nymeria.archlinux.org
Mon Jan 13 23:06:07 UTC 2014


    Date: Tuesday, January 14, 2014 @ 00:06:07
  Author: arodseth
Revision: 103956

upgpkg: libx86emu 1.1-30

Modified:
  libx86emu/trunk/PKGBUILD

----------+
 PKGBUILD |   33 ++++++++++++++-------------------
 1 file changed, 14 insertions(+), 19 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-01-13 22:15:12 UTC (rev 103955)
+++ PKGBUILD	2014-01-13 23:06:07 UTC (rev 103956)
@@ -1,36 +1,31 @@
 # $Id$
-# Maintainer: Kaiting Chen <kaitocracy at gmail.com>
+# Maintainer: Alexander Rødseth <rodseth at gmail.com>
+# Contributor: Kaiting Chen <kaitocracy at gmail.com>
 # Contributor: Gergely Imreh <imrehgATgmailDOTcom>
 
 pkgname=libx86emu
 pkgver=1.1
-_pkgver=$pkgver-15.3
-pkgrel=29
+_pkgver=$pkgver-21.4
+pkgrel=30
 pkgdesc='x86 emulation library'
-arch=('i686' 'x86_64')
-url='http://www.opensuse.org/'
+arch=('x86_64' 'i686')
+url='http://download.opensuse.org/source/factory/repo/oss/suse/src/'
 license=('BSD')
 depends=('glibc')
 makedepends=('rpmextract')
 source=("http://download.opensuse.org/source/factory/repo/oss/suse/src/$pkgname-$_pkgver.src.rpm")
-md5sums=('ba6a0fc46307dd79078579140aab2f02')
+sha256sums=('d94a9b2e00e995856bf71a1db8d97ba2a622d3f447248f53cd4e175d491c6a1b')
 
 build() {
-  cd "${srcdir}"
-
   rpmextract.sh "${pkgname}-${_pkgver}.src.rpm"
-  tar -xjf $pkgname-$pkgver.tar.bz2
-
-  cd "${srcdir}/${pkgname}-${pkgver}"
-
-  make LIBDIR=/usr/lib
+  tar jxvf "$pkgname-$pkgver.tar.bz2"
+  make -C "$pkgname-$pkgver" LIBDIR=/usr/lib
 }
 
 package() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
+  make -C "$pkgname-$pkgver" LIBDIR=/usr/lib DESTDIR="$pkgdir" install
+  install -Dm644 "$pkgname-$pkgver/LICENSE" \
+    "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
 
-  make LIBDIR=/usr/lib DESTDIR=$pkgdir install
-
-  install -Dm644 LICENSE \
-  ${pkgdir}/usr/share/licenses/$pkgname/LICENSE
-}
+# vim:set ts=2 sw=2 et:




More information about the arch-commits mailing list