updated on Thu Jan 19 12:17:07 UTC 2012
[aur-mirror.git] / ramspeed / PKGBUILD
blob6e0dce58f1127746dfc9b7a74ca09077e9545bf9
1 # Maintainer: kfgz <kfgz at interia pl>
3 pkgname=ramspeed
4 pkgver=2.6.0
5 pkgrel=1
6 pkgdesc="CLI utility to measure cache and memory performance of computer systems"
7 arch=('i686' 'x86_64')
8 url="http://alasir.com/software/ramspeed/"
9 license=('custom')
10 source=(http://www.alasir.com/software/${pkgname}/${pkgname}-${pkgver}.tar.gz)
11 md5sums=('546394131a1467a8651e0b8a218970c0')
13 build() {
14   cd ${srcdir}/${pkgname}-${pkgver}
15   sed -i "s/read ANS//g" build.sh
16   if [ `uname -m` = "x86_64" ]; then
17     ./build.sh Linux amd64
18   else
19     ./build.sh Linux i386
20   fi
23 package() {
24   cd ${srcdir}/${pkgname}-${pkgver}
25   install -m755 -D ${pkgname} ${pkgdir}/usr/bin/${pkgname}
26   install -m644 -D LICENCE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
27   install -m644 -D README ${pkgdir}/usr/share/doc/${pkgname}/README