diff options
author | root <root@rshg054.dnsready.net> | 2012-03-13 00:01:30 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-03-13 00:01:30 +0000 |
commit | 217a7715291ceb935900b71bde082023bc441290 (patch) | |
tree | 6cbfcf7d11f0bd1e412f542080ec995fc26daffd /community/libx86emu | |
parent | 7e61bbcf6b3c8ffe6c076268044d83b446fceeab (diff) |
Tue Mar 13 00:01:30 UTC 2012
Diffstat (limited to 'community/libx86emu')
-rw-r--r-- | community/libx86emu/PKGBUILD | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/community/libx86emu/PKGBUILD b/community/libx86emu/PKGBUILD index 83f8429b6..a25689370 100644 --- a/community/libx86emu/PKGBUILD +++ b/community/libx86emu/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 36338 2010-12-30 20:33:39Z kchen $ +# $Id: PKGBUILD 67396 2012-03-11 10:52:58Z lcarlier $ # Maintainer: Kaiting Chen <kaitocracy@gmail.com> # Contributor: Gergely Imreh <imrehgATgmailDOTcom> pkgname=libx86emu pkgver=1.1 -_pkgver=$pkgver-9.9 -pkgrel=28 +_pkgver=$pkgver-15.3 +pkgrel=29 pkgdesc='x86 emulation library' arch=('i686' 'x86_64') url='http://www.opensuse.org/' @@ -13,16 +13,24 @@ license=('BSD') depends=('glibc') makedepends=('rpmextract') source=("http://download.opensuse.org/source/factory/repo/oss/suse/src/$pkgname-$_pkgver.src.rpm") -md5sums=('5e1b64be543002a83d910edce1659cee') +md5sums=('ba6a0fc46307dd79078579140aab2f02') build() { cd "${srcdir}" + rpmextract.sh "${pkgname}-${_pkgver}.src.rpm" tar -xjf $pkgname-$pkgver.tar.bz2 + cd "${srcdir}/${pkgname}-${pkgver}" make LIBDIR=/usr/lib +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make LIBDIR=/usr/lib DESTDIR=$pkgdir install + install -Dm644 LICENSE \ ${pkgdir}/usr/share/licenses/$pkgname/LICENSE } |