summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorXorg2017-01-08 19:08:10 +0100
committerXorg2017-01-08 19:08:18 +0100
commit36bcce859db3834a125b90981e38ff46ad4a0693 (patch)
tree2b88020cce5f6dfbcbc6a7e4173b59f75fb67165
parent6b5dd2786681c6712f340c4f9fd2af578ed4f974 (diff)
downloadaur-36bcce859db3834a125b90981e38ff46ad4a0693.tar.gz
Fix PKGBUILD due to recent changes
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD5
2 files changed, 5 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 9d0bbcef9f1..22d3bea5ef9 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,5 @@
# Generated by mksrcinfo v8
-# Sun Dec 4 12:00:00 UTC 2016
+# Sun Jan 8 18:08:10 UTC 2017
pkgbase = darling-git
pkgdesc = A Darwin/OS X emulation layer for Linux
pkgver = r1374.2536b7d
diff --git a/PKGBUILD b/PKGBUILD
index 78b426151f4..8e1eeb86163 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -30,7 +30,6 @@ prepare() {
git submodule update --init --recursive
msg2 "Forbid libexec use..."
- sed -i 's|${DARLING_PREFIX}/libexec/darling|${DARLING_PREFIX}/share/darling/prefix|g' src/dyld/darling
sed -i 's|${CMAKE_INSTALL_PREFIX}/libexec/darling|${CMAKE_INSTALL_PREFIX}/share/darling/prefix|g' src/darling-config.h.in
find . -name CMakeLists.txt -exec sed -i 's|libexec/darling|${CMAKE_INSTALL_PREFIX}/share/darling/prefix|g' {} \;
@@ -65,4 +64,8 @@ package() {
cd "$srcdir/$_gitname/build/x86-64"
msg2 "Install 64-bit build..."
make DESTDIR="$pkgdir" install
+
+ # Hotfixes
+ rm -rf "$pkgdir/bin"
+ chmod 4755 "$pkgdir/usr/bin/darling"
}