summaryrefslogtreecommitdiff
path: root/system/mailx/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'system/mailx/APKBUILD')
-rw-r--r--system/mailx/APKBUILD9
1 files changed, 5 insertions, 4 deletions
diff --git a/system/mailx/APKBUILD b/system/mailx/APKBUILD
index 4e9f0f221..846c4a08b 100644
--- a/system/mailx/APKBUILD
+++ b/system/mailx/APKBUILD
@@ -17,13 +17,14 @@ source="https://downloads.sourceforge.net/heirloom/$pkgname-$pkgver.tar.bz2
mailx-12.4-cve.patch"
build() {
- cd "$builddir"
- make PREFIX="/usr" SYSCONFDIR="/etc" STRIP=":" SENDMAIL="/usr/sbin/sendmail" MAILSPOOL="/var/spool/mail"
+ make PREFIX="/usr" SYSCONFDIR="/etc" STRIP=":" SENDMAIL="/usr/sbin/sendmail" \
+ MAILSPOOL="/var/spool/mail"
}
package() {
- cd "$builddir"
- make DESTDIR="$pkgdir" PREFIX="/usr" SYSCONFDIR="/etc" STRIP=":" UCBINSTALL="`command -v install`" SENDMAIL="/usr/sbin/sendmail" MAILSPOOL="/var/spool/mail" install
+ make DESTDIR="$pkgdir" PREFIX="/usr" SYSCONFDIR="/etc" STRIP=":" \
+ UCBINSTALL="`command -v install`" SENDMAIL="/usr/sbin/sendmail" \
+ MAILSPOOL="/var/spool/mail" install
install -m 755 "$srcdir"/Mail "$pkgdir"/usr/bin/Mail
}