summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGavin Troy2016-09-17 00:55:12 +0100
committerGavin Troy2016-09-17 00:55:51 +0100
commit212bb83e6a011257311bcee5109fe6d7f13b777c (patch)
tree4889f536caf3b0394e42b478a11f6a797d59d936
parent69574d6a7f004826c882581da9b1d1f7abf0258e (diff)
downloadaur-212bb83e6a011257311bcee5109fe6d7f13b777c.tar.gz
fake fakeroot
-rw-r--r--PKGBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 740fa605b50..999b28a7202 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -37,6 +37,7 @@ build() {
VAL_SYSCONFRC=mail.rc \
VAL_LIBEXECDIR=/usr/lib \
OPT_AUTOCC=0 \
+ LD_LIBRARY_PATH="$(fakeroot sh -c 'echo $LD_LIBRARY_PATH')" \
${config_target:-} \
config
@@ -47,7 +48,7 @@ build() {
package() {
cd s-nail
- make DESTDIR="${pkgdir}" chown=/usr/bin/true install
+ make DESTDIR="${pkgdir}" install
ln -sf s-nail "${pkgdir}"/usr/bin/mail
ln -sf s-nail "${pkgdir}"/usr/bin/mailx