summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorparchd2016-09-22 10:08:41 +0200
committerparchd2016-09-22 10:08:41 +0200
commit17232fd1b5532ff8b07c23970a916476eb8b2f08 (patch)
treef421846959e6c72c0d9f2de3e0580bc7ae2d4adf /PKGBUILD
downloadaur-17232fd1b5532ff8b07c23970a916476eb8b2f08.tar.gz
Snapshot version of table-passwd from opensmtpd-extras
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..41a1144dcc6
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,38 @@
+# Maintainer: parchd <parchd@archlinux.info>
+pkgname=opensmtpd-table-passwd
+pkgver=201607122008
+pkgrel=1
+pkgdesc="table-passwd for using a passwd file with OpenSMTPd"
+arch=('i686' 'x86_64')
+url="https://opensmtpd.org"
+license=('custom:opensmtpd')
+depends=('opensmtpd')
+conflicts=('opensmtpd-extras')
+makedepends=('openssl')
+optdepends=()
+source=("https://www.opensmtpd.org/archives/opensmtpd-extras-$pkgver.tar.gz")
+sha256sums=('00a41fd9d468908f0863443acc4af99a894b44e9b6ca0cb6c93079447be2c5d0')
+
+prepare() {
+ cd "opensmtpd-extras-$pkgver"
+}
+
+build() {
+ cd "opensmtpd-extras-$pkgver"
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc/smtpd \
+ --libexecdir=/usr/lib/smtpd \
+ --with-table-passwd
+ make
+}
+
+check() {
+ cd "opensmtpd-extras-$pkgver"
+ make -k check
+}
+
+package() {
+ cd "opensmtpd-extras-$pkgver"
+ make DESTDIR="$pkgdir/" install
+}