summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAbdo Roig-Maranges2016-10-28 14:05:53 +0200
committerAbdo Roig-Maranges2016-10-28 14:05:53 +0200
commit689e72272e3c0c7948164a8afdf5aa3010d0b11a (patch)
tree71d592afc6fb83b8dc947641a6764957a8a8d0c3
parent2388f45f955c45f27ca77ce7f55e3745d8749932 (diff)
downloadaur-689e72272e3c0c7948164a8afdf5aa3010d0b11a.tar.gz
attempt to fix aot rebuild issue
-rw-r--r--PKGBUILD11
1 files changed, 10 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 52d434ad399..88f47462a74 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -19,6 +19,14 @@ pkgver() {
git --git-dir="${srcdir}/extempore/.git" describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
+prepare() {
+ cd "${srcdir}/extempore"
+
+ # Do not hook up aot_extended on ALL. Otherwise it is run at make install,
+ # since it does not track build products.
+ sed -i 's/aot_extended ALL/aot_extended/g' CMakeLists.txt
+}
+
build() {
mkdir -p "${srcdir}/build"
cd "${srcdir}/build"
@@ -35,8 +43,9 @@ build() {
package() {
cd "${srcdir}/build"
- # TODO: fix CMakeLists.txt so it does not rebuild aot_extended at this point.
make DESTDIR="${pkgdir}/" install
+
+ # TODO: add symlink or launcher script at /usr/bin
}