summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorchristian2015-08-13 08:23:11 +0200
committerchristian2015-08-13 08:23:11 +0200
commit3e07ac072bff2dab369393cc393c80ae7c1684b0 (patch)
tree8be27b9254af2bf6b26ec5240528424586282609
parent7e9a70a6b62dc3a57a57852c1acc2242ba7ef809 (diff)
downloadaur-3e07ac072bff2dab369393cc393c80ae7c1684b0.tar.gz
fixed nasty path problem in Makefile
-rw-r--r--PKGBUILD3
1 files changed, 3 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 20bd676e164..f8c1e0dd834 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -24,6 +24,7 @@ pkgver() {
build() {
cd "${srcdir}/${_pkgname}"
+ sed -i '/ORGMK_ROOT=\$\(PWD\)/c\ORGMK_ROOT=/usr/share/orgmk' Makefile
make
}
@@ -31,6 +32,8 @@ package() {
mkdir -p "${pkgdir}"/usr/share/orgmk
mkdir -p "${pkgdir}"/usr/bin
cd "${srcdir}"
+
+
cp -R ${_pkgname}/* "${pkgdir}"/usr/share/orgmk
ln -s /usr/share/orgmk/bin/* "${pkgdir}"/usr/bin