summaryrefslogtreecommitdiff
path: root/community/libx86emu
diff options
context:
space:
mode:
Diffstat (limited to 'community/libx86emu')
-rw-r--r--community/libx86emu/PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/community/libx86emu/PKGBUILD b/community/libx86emu/PKGBUILD
new file mode 100644
index 000000000..83f8429b6
--- /dev/null
+++ b/community/libx86emu/PKGBUILD
@@ -0,0 +1,28 @@
+# $Id: PKGBUILD 36338 2010-12-30 20:33:39Z kchen $
+# Maintainer: Kaiting Chen <kaitocracy@gmail.com>
+# Contributor: Gergely Imreh <imrehgATgmailDOTcom>
+
+pkgname=libx86emu
+pkgver=1.1
+_pkgver=$pkgver-9.9
+pkgrel=28
+pkgdesc='x86 emulation library'
+arch=('i686' 'x86_64')
+url='http://www.opensuse.org/'
+license=('BSD')
+depends=('glibc')
+makedepends=('rpmextract')
+source=("http://download.opensuse.org/source/factory/repo/oss/suse/src/$pkgname-$_pkgver.src.rpm")
+md5sums=('5e1b64be543002a83d910edce1659cee')
+
+build() {
+ cd "${srcdir}"
+ rpmextract.sh "${pkgname}-${_pkgver}.src.rpm"
+ tar -xjf $pkgname-$pkgver.tar.bz2
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ make LIBDIR=/usr/lib
+ make LIBDIR=/usr/lib DESTDIR=$pkgdir install
+ install -Dm644 LICENSE \
+ ${pkgdir}/usr/share/licenses/$pkgname/LICENSE
+}