mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-25 10:32:20 +01:00
56 lines
2.0 KiB
Plaintext
56 lines
2.0 KiB
Plaintext
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
|
|
# Maintainer: Michael Mason <ms13sp@gmail.com>
|
|
pkgname=mailx
|
|
pkgver=8.1.1
|
|
pkgrel=1
|
|
pkgdesc="A commandline utility for sending email"
|
|
url="http://www.opengroup.org/onlinepubs/007908799/xcu/mailx.html"
|
|
arch="all"
|
|
license="BSD"
|
|
depends=
|
|
depends_dev=
|
|
makedepends="$depends_dev bsd-compat-headers"
|
|
install=""
|
|
options="suid"
|
|
subpackages="$pkgname-doc"
|
|
source="https://sources.archlinux.org/other/mailx/$pkgname-$pkgver-fixed.tar.gz
|
|
mailx-8.1.1.patch
|
|
musl-fix.patch
|
|
mailx-gcc4.patch"
|
|
|
|
_builddir="$srcdir/$pkgname-$pkgver-fixed"
|
|
|
|
prepare() {
|
|
local i
|
|
cd "$_builddir"
|
|
for i in $source; do
|
|
case $i in
|
|
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
|
|
esac
|
|
done
|
|
sed -i 's#/man/#/share/man/#' Makefile
|
|
}
|
|
|
|
build() {
|
|
cd "$_builddir"
|
|
make || return 1
|
|
}
|
|
|
|
package() {
|
|
cd "$_builddir"
|
|
make DESTDIR="$pkgdir" install || return 1
|
|
}
|
|
|
|
md5sums="63cad526ac64b57bcba2c0daaa1f3048 mailx-8.1.1-fixed.tar.gz
|
|
117ea0424ca1cfeb85b1e7f9bf945f6a mailx-8.1.1.patch
|
|
bf07d61361ca99fe41b3197f930d6359 musl-fix.patch
|
|
ea6d343c73cc62f8d5e83ec357aaf72f mailx-gcc4.patch"
|
|
sha256sums="bb6b481bd2af066e5b2f96267f5b0a886a4fbd11bb2c9b316b113c667abf893f mailx-8.1.1-fixed.tar.gz
|
|
7b1c21bc41af2de1f1ffc96431793c2c05321d8a7cae41f9adb619cb3feda274 mailx-8.1.1.patch
|
|
2a19d3217933983971ebbe20faab538e11f814598818c4110dd16570c166a1ee musl-fix.patch
|
|
cab097de50b169cfeb3d71bf2ef68074e215af5f24c16704ed15766551d0377c mailx-gcc4.patch"
|
|
sha512sums="adfb1ae796505f2706d03e34ae9b89f45dd878d55014ae8fab91fbf4b53f1bd97e0ac78ce1af5999adf62e99230f91d9539605ae388cf6c16e8334c14c0cce10 mailx-8.1.1-fixed.tar.gz
|
|
05c4185ef54601c9bae6b6505201a9b357f69d9d22c4b992a9ba52f4022b8dec2d0e5b97654fff7c9f303bdcc87ab8bb279a7293fdd538d4291dcd99f6eae1d4 mailx-8.1.1.patch
|
|
de633d557552c38e221cd48c0cf6cefe108f22332eab5e155183463b0209a08b1ae6754508a12bf9f261a345b2feb1a4e607167d51b7a16e60d47c3c02d0218f musl-fix.patch
|
|
e3fa1016da2cd1583e1ba2f6cd05566385607e144da2766101e4bf8c8dc089c4b956d1d90ccc040e5faf31c98d0855a0bc909bf0d6538df34925e798bba1a074 mailx-gcc4.patch"
|