diff options
Diffstat (limited to 'community/libx86emu/PKGBUILD')
-rw-r--r-- | community/libx86emu/PKGBUILD | 33 |
1 files changed, 14 insertions, 19 deletions
diff --git a/community/libx86emu/PKGBUILD b/community/libx86emu/PKGBUILD index c9973fa49..e9cd2338b 100644 --- a/community/libx86emu/PKGBUILD +++ b/community/libx86emu/PKGBUILD @@ -1,36 +1,31 @@ -# $Id: PKGBUILD 67396 2012-03-11 10:52:58Z lcarlier $ -# Maintainer: Kaiting Chen <kaitocracy@gmail.com> +# $Id: PKGBUILD 104103 2014-01-15 17:01:05Z arodseth $ +# Maintainer: Alexander Rødseth <rodseth@gmail.com> +# Contributor: Kaiting Chen <kaitocracy@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' 'mips64el') -url='http://www.opensuse.org/' +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 LIBDIR=/usr/lib DESTDIR=$pkgdir install - - install -Dm644 LICENSE \ - ${pkgdir}/usr/share/licenses/$pkgname/LICENSE + make -C "$pkgname-$pkgver" LIBDIR=/usr/lib DESTDIR="$pkgdir" install + install -Dm644 "$pkgname-$pkgver/LICENSE" \ + "$pkgdir/usr/share/licenses/$pkgname/LICENSE" } + +# vim:set ts=2 sw=2 et: |