summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGavin Lloyd2017-10-23 16:11:06 -0700
committerGavin Lloyd2017-10-23 16:11:06 -0700
commit3c50a8543353cf79523390dfb647a55980bdb369 (patch)
treebe4288ad8b780f439c4963cca1957e26552013ec
parent44a39a389d75aaeedd67960fa9588388890a3433 (diff)
downloadaur-3c50a8543353cf79523390dfb647a55980bdb369.tar.gz
Set CMAKE_INSTALL_PREFIX
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD5
2 files changed, 4 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 305b7fb09dba..e1f45ad1a232 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Fri Oct 20 00:34:46 UTC 2017
+# Mon Oct 23 23:10:51 UTC 2017
pkgbase = fatelf-utils
pkgdesc = Utils for FatELF universal binaries for Linux
pkgver = 111.5e7e594b70fa
- pkgrel = 3
+ pkgrel = 4
url = https://www.icculus.org/fatelf
arch = i686
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 4abe4ea934e1..532a4e5b941b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=fatelf-utils
pkgver=111.5e7e594b70fa
-pkgrel=3
+pkgrel=4
pkgdesc='Utils for FatELF universal binaries for Linux'
arch=('i686' 'x86_64')
url='https://www.icculus.org/fatelf'
@@ -19,14 +19,13 @@ pkgver() {
build() {
cd "${srcdir}"/fatelf
CFLAGS+=" -O0"
- cmake .
+ cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr .
make
}
package() {
cd "${srcdir}"/fatelf
- sed -i 's|/usr/local|/usr|g' cmake_install.cmake
make DESTDIR="${pkgdir}" install
for FILE in docs/*.txt; do