summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorEric Engestrom2019-05-08 10:30:28 +0100
committerEric Engestrom2019-05-08 10:35:01 +0100
commita0b7ce7194b3d5d285f96623c90c36449c6fc890 (patch)
treeeff79ace3a20368ebd0211605a68d887a624fc01 /PKGBUILD
parentdd6a40681288804a1fe7318829d80f5fc9808682 (diff)
downloadaur-a0b7ce7194b3d5d285f96623c90c36449c6fc890.tar.gz
bump with a bunch of hacky fixes to make it build
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD21
1 files changed, 17 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 7410ae048aa..3f9c688d32e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,27 +1,40 @@
# Maintainer: Eric Engestrom <aur [at] engestrom [dot] ch>
pkgname=gpuvis-git
-pkgver=r859.5b8f4bc
+pkgver=r1639.a138c1cf40c23830d49c
pkgrel=1
pkgdesc=""
arch=(x86_64)
url="https://github.com/mikesart/gpuvis"
license=('MIT')
-source=("git+$url")
-sha1sums=('SKIP')
+source=("git+$url"
+ 'fix.diff')
+sha1sums=('SKIP'
+ '12ad046b5d470ce133e21993498949e48a192553')
pkgver() {
cd "$srcdir"/gpuvis
printf "r%d.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
+prepare() {
+ cd "$srcdir"/gpuvis
+ patch -sp1 -i "$srcdir"/fix.diff
+}
+
build() {
cd "$srcdir"/gpuvis
+ mkdir build
+ cd build
+ cmake \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
+ ..
make
}
package() {
cd "$srcdir"/gpuvis
install -dm755 "$pkgdir/usr/bin/"
- install -m755 _release/gpuvis "$pkgdir/usr/bin/"
+ install -m755 build/gpuvis "$pkgdir/usr/bin/"
}