blob: 83f8429b6bcfd93a3bff14bcef98522c0279de13 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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
}
|