1 # Contributor: Roman Ajsin <aysin (dot) roman [at] gmail (dot) com>
2 # Maintainer: jose <jose1711 [at] gmail (dot) com>
7 pkgdesc="A cross-platform benchmark that measures processor and memory performance"
9 url="http://www.primatelabs.ca/geekbench/"
10 depends=('zlib' 'gcc-libs')
12 source=("http://s3.amazonaws.com/geekbench/Geekbench-${pkgver}-Linux.tar.gz")
13 md5sums=('f96a7346f93dc0cb98e51617e88b18f9')
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}