summaryrefslogtreecommitdiff
path: root/pcr/postsrsd/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/postsrsd/PKGBUILD')
-rw-r--r--pcr/postsrsd/PKGBUILD13
1 files changed, 12 insertions, 1 deletions
diff --git a/pcr/postsrsd/PKGBUILD b/pcr/postsrsd/PKGBUILD
index 42ec47ba8..dbb89dc7c 100644
--- a/pcr/postsrsd/PKGBUILD
+++ b/pcr/postsrsd/PKGBUILD
@@ -5,7 +5,7 @@
pkgname=postsrsd
pkgver=1.4
-pkgrel=2
+pkgrel=3
pkgdesc="Sender Rewriting Scheme (SRS) daemon for Postfix"
arch=('i686' 'x86_64' 'armv7h')
makedepends=('cmake' 'help2man')
@@ -13,12 +13,23 @@ backup=('etc/default/postsrsd')
url="https://github.com/roehling/postsrsd"
license=('GPL2')
source=("$pkgname-$pkgver.tar.gz::https://github.com/roehling/postsrsd/archive/${pkgver}.tar.gz"
+ 0001-systemd-populate-SRS_DOMAIN-default-using-postconf.patch
postsrsd-genkey.service
postsrsd.service-genkey.conf)
md5sums=('cb6e13a06d6bbd7d383efb9bbf0867ce'
+ '55c38abef2084405eee3d4b7619d71dd'
'621d1ac7a15aec5d0cf91ec9b3ae7266'
'3441061474bd5da0d5f8148f53b05917')
+prepare() {
+ cd "$srcdir/${pkgname}-${pkgver}"
+
+ local patch
+ for patch in ../*.patch; do
+ patch -Np1 -i "$patch"
+ done
+}
+
build() {
cd "$srcdir/${pkgname}-${pkgver}"
mkdir -p build