summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitris Kiziridis2020-06-20 19:40:16 +0300
committerDimitris Kiziridis2020-06-20 19:40:16 +0300
commit8e4fa60df92a8f393e7ca6ab1ac1a2779d403885 (patch)
treef63b168c792b4ab5043f0ade2cf9834f2b338183
parent7534e104079d4c616e81e808906ba1fae0c101b4 (diff)
downloadaur-dseams-git.tar.gz
minor fix
-rw-r--r--PKGBUILD12
1 files changed, 5 insertions, 7 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 879293ccf03..252478e3e10 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -22,26 +22,24 @@ source=("dseams::git+https://github.com/d-SEAMS/seams-core")
sha256sums=('SKIP')
pkgver() {
- cd "${srcdir}/seams-core"
+ cd "${srcdir}/dseams"
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {
- cd "${srcdir}/seams-core"
- if [[ -d build ]]; then
- rm -rf build
- fi
+ cd "${srcdir}/dseams"
+ rm -rf build
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr ..
}
build() {
- cd "${srcdir}/seams-core/build"
+ cd "${srcdir}/dseams/build"
make
}
package() {
- cd "${srcdir}/seams-core/build"
+ cd "${srcdir}/dseams/build"
make DESTDIR=${pkgdir} install
} \ No newline at end of file