summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorlilac2022-09-25 04:43:47 +0800
committerlilac2022-09-25 04:43:47 +0800
commit78d33ff8f301ae9b0c37e2db771715079d427a94 (patch)
tree06a8dc6aef6babda47146fc16bdb6e9877bd5679 /PKGBUILD
parent0d70c5885616a90e88e82ea07405ae08f62a36af (diff)
downloadaur-kdiskmark-git.tar.gz
[lilac] updated to 3.1.2.r3.g59c9758-2
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD11
1 files changed, 9 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index a28a93ebbc97..a85a85e472a8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,8 +2,8 @@
_pkgname='KDiskMark'
pkgname="${_pkgname,,}-git"
-pkgver=2.3.0.r4.g9783700
-pkgrel=1
+pkgver=3.1.2.r3.g59c9758
+pkgrel=2
pkgdesc='Simple disk benchmark tool'
arch=('x86_64')
url='https://github.com/JonMagon/KDiskMark'
@@ -19,12 +19,19 @@ pkgver() {
git -C "${_pkgname}" describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
+prepare() {
+ cd ${_pkgname}
+ git submodule init
+ git submodule update
+}
+
build() {
export CFLAGS+=" ${CPPFLAGS}"
export CXXFLAGS+=" ${CPPFLAGS}"
cmake -B build -S "${_pkgname}" \
-DCMAKE_BUILD_TYPE='None' \
-DCMAKE_INSTALL_PREFIX='/usr' \
+ -DCMAKE_INSTALL_LIBEXECDIR='lib' \
-Wno-dev
make -C build
}