summaryrefslogtreecommitdiff
path: root/community/libx86emu/PKGBUILD
blob: fde41f504d5f937d27613a560e1a31de4a201199 (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' 'mips64el')
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
}