summaryrefslogtreecommitdiff
path: root/system/mailx/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-12-21 01:05:04 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-12-21 01:05:04 +0000
commitf41ef48c4f451513041fbfb678652eddb1eee469 (patch)
tree8c216c4044bde804ed8240c126bc6f4aad15eeb9 /system/mailx/APKBUILD
parent9a841fe2af5204c11e54bdb00a8f46088b30de7d (diff)
downloadpackages-f41ef48c4f451513041fbfb678652eddb1eee469.tar.gz
packages-f41ef48c4f451513041fbfb678652eddb1eee469.tar.bz2
packages-f41ef48c4f451513041fbfb678652eddb1eee469.tar.xz
packages-f41ef48c4f451513041fbfb678652eddb1eee469.zip
system/m*: modernise, fix metadata
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
}