diff options
author | Score_Under | 2024-04-07 22:10:15 +0100 |
---|---|---|
committer | Score_Under | 2024-04-07 22:10:15 +0100 |
commit | a2ef9c20b3a408b96139da05100281616374e9c8 (patch) | |
tree | 70c4a9a36a3e6f33cdf6daaa42b0591c6a706bc7 | |
parent | d8a59c45b96dd05925da5a8368f30bec8bf8c856 (diff) | |
download | aur-bandwidth.tar.gz |
Update for v1.14.10
-rw-r--r-- | .SRCINFO | 7 | ||||
-rw-r--r-- | PKGBUILD | 14 |
2 files changed, 14 insertions, 7 deletions
@@ -1,15 +1,16 @@ pkgbase = bandwidth pkgdesc = Benchmark memory bandwidth - pkgver = 1.12.3 + pkgver = 1.14.10 pkgrel = 1 url = http://zsmith.co/bandwidth.php arch = i686 arch = x86_64 license = GPL makedepends = nasm + depends = freetype2 options = !makeflags options = !debug - source = https://zsmith.co/archives/bandwidth-1.12.3.tar.bz2 - sha256sums = 6a756d244d1d93036b8e79aff66f9c939a95ac743d43489e50b62903bb96640c + source = https://zsmith.co/archives/bandwidth-1.14.10.tar.bz2 + sha256sums = fece39a6dfb10c65033d6d79b2356e9ee714e936862b075ebdabd7277ce914a6 pkgname = bandwidth @@ -1,4 +1,4 @@ -_orig_ver=1.12.3 +_orig_ver=1.14.10 _orig_patch= _orig_fullver=$_orig_ver$_orig_patch @@ -9,18 +9,24 @@ pkgdesc="Benchmark memory bandwidth" arch=('i686' 'x86_64') url="http://zsmith.co/bandwidth.php" license=('GPL') +depends=('freetype2') makedepends=('nasm') options=(!makeflags !debug) -sha256sums=('6a756d244d1d93036b8e79aff66f9c939a95ac743d43489e50b62903bb96640c') +sha256sums=('fece39a6dfb10c65033d6d79b2356e9ee714e936862b075ebdabd7277ce914a6') source=("https://zsmith.co/archives/${pkgname}-${_orig_fullver}.tar.bz2") -build() { +prepare() { cd "${srcdir}/${pkgname}-${_orig_fullver}" make clean + ./configure +} + +build() { + cd "${srcdir}/${pkgname}-${_orig_fullver}" # makefile uses LIB instead of LDFLAGS, and needs to know where OOC is - export LIB="${LDFLAGS} -L ./OOC" + export LIB="${LDFLAGS} -lm OOC/libOOC.a $(pkg-config --libs freetype2)" if [ "${CARCH}" = "x86_64" ]; then make -f Makefile-linux-x86_64 bandwidth64 |