summaryrefslogtreecommitdiff
path: root/community/libx86emu
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/libx86emu
Tue Apr 5 14:26:38 UTC 2011
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
+}