summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew T Hoare2018-05-06 20:52:18 +0100
committerMatthew T Hoare2018-05-06 20:52:18 +0100
commitb75ee3f2b6c73c96a9ad1b06c9d8a8ce0b734703 (patch)
tree6c8441c3c1203ae4dee080d6bbb1a4eefe19cbe3
parentcc2f866eae0c825e9085ef825e1097ebaa2da7e2 (diff)
downloadaur-tungsten-renderer-git.tar.gz
Corrected install path to /usr
-rw-r--r--PKGBUILD8
1 files changed, 6 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 5063f30cdbe..d9616e0d71e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -19,6 +19,11 @@ pkgver() {
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
+prepare() {
+ cd "${_pkgname}"
+ sed -i '/cmake/ s/$/ -DCMAKE_INSTALL_PREFIX=\/usr/' setup_builds.sh
+}
+
build() {
cd "${_pkgname}"
./setup_builds.sh
@@ -28,6 +33,5 @@ build() {
package() {
cd "${_pkgname}/build/release"
- make DESTDIR="${pkgdir}/" install
+ make DESTDIR="${pkgdir}" install
}
-