updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / geekbench / PKGBUILD
blobbc4b5062d9d5d01ab7bc776592a162bc3302199a
1 # Contributor: Roman Ajsin <aysin (dot) roman [at] gmail (dot) com>
2 # Maintainer: jose <jose1711 [at] gmail (dot) com>
4 pkgname=geekbench
5 pkgver=2.2.3
6 pkgrel=2
7 pkgdesc="A cross-platform benchmark that measures processor and memory performance"
8 arch=('i686' 'x86_64')
9 url="http://www.primatelabs.ca/geekbench/"
10 depends=('zlib' 'gcc-libs')
11 license=("custom")
12 source=("http://s3.amazonaws.com/geekbench/Geekbench-${pkgver}-Linux.tar.gz")
13 md5sums=('f96a7346f93dc0cb98e51617e88b18f9')
14 options=('!strip')
16 build() {
17 true
20 package() {
21 install -D -m755 $srcdir/dist/Geekbench-2.2.3-Linux/${pkgname}_x86_32 $pkgdir/opt/${pkgname}/${pkgname}_x86_32
22 install -D -m755 $srcdir/dist/Geekbench-2.2.3-Linux/${pkgname}_x86_64 $pkgdir/opt/${pkgname}/${pkgname}_x86_64
23 install -D -m644 $srcdir/dist/Geekbench-2.2.3-Linux/geekbench.plar $pkgdir/opt/${pkgname}/geekbench.plar
24 mkdir -p $pkgdir/usr/bin
25 [ "${CARCH}" = "i686" ] && ln -s /opt/${pkgname}/${pkgname}_x86_32 $pkgdir/usr/bin/${pkgname} || \
26 ln -s /opt/${pkgname}/${pkgname}_x86_64 $pkgdir/usr/bin/${pkgname}