summaryrefslogtreecommitdiff
path: root/system/mailx/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'system/mailx/APKBUILD')
-rw-r--r--system/mailx/APKBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/system/mailx/APKBUILD b/system/mailx/APKBUILD
index b2e4af92e..4e9f0f221 100644
--- a/system/mailx/APKBUILD
+++ b/system/mailx/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=mailx
pkgver=12.4
-pkgrel=0
+pkgrel=1
pkgdesc="Send and receive Internet mail"
url="http://heirloom.sourceforge.net/mailx.html"
arch="all"
@@ -18,12 +18,12 @@ source="https://downloads.sourceforge.net/heirloom/$pkgname-$pkgver.tar.bz2
build() {
cd "$builddir"
- make PREFIX="/usr" SYSCONFDIR="/etc" STRIP=":"
+ 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`" 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
}