diff options
author | Georg Schlisio | 2016-03-30 19:17:47 +0200 |
---|---|---|
committer | Georg Schlisio | 2016-03-30 19:17:47 +0200 |
commit | bfd5eee9998ae54216ea6b0368d8f61cec375f1f (patch) | |
tree | 96881879942685742f07571755853713e02a4e65 | |
parent | 541fbe83c2f98846dee345fe512a6caee26ac17b (diff) | |
download | aur-bfd5eee9998ae54216ea6b0368d8f61cec375f1f.tar.gz |
tweaked standard config
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 13 |
2 files changed, 7 insertions, 12 deletions
@@ -1,7 +1,7 @@ pkgbase = postsrsd pkgdesc = Provides the Sender Rewriting Scheme (SRS) via TCP-based lookup tables for Postfix pkgver = 1.4 - pkgrel = 1 + pkgrel = 2 url = https://github.com/roehling/postsrsd install = postsrsd.install arch = i686 @@ -10,9 +10,7 @@ pkgbase = postsrsd makedepends = cmake makedepends = help2man depends = glibc - provides = postsrsd - conflicts = postsrsd - backup = etc/postsrsd/postsrsd.conf + backup = etc/postsrsd/postsrsd source = https://github.com/roehling/postsrsd/archive/1.4.tar.gz md5sums = cb6e13a06d6bbd7d383efb9bbf0867ce @@ -1,17 +1,16 @@ # derived from postsrsd-git PKGBUILD maintained by # Radek Podgorny <radek@podgorny.cz> # Thomas Haider <t.haider@deprecate.de> +# maintainer: fordprefect <fordprefect@dukun.de> pkgname=postsrsd pkgver=1.4 -pkgrel=1 +pkgrel=2 pkgdesc="Provides the Sender Rewriting Scheme (SRS) via TCP-based lookup tables for Postfix" -provides=(postsrsd) -conflicts=(postsrsd) arch=('i686' 'x86_64') depends=('glibc') makedepends=('cmake' 'help2man') -backup=('etc/postsrsd/postsrsd.conf') +backup=('etc/postsrsd/postsrsd') url="https://github.com/roehling/postsrsd" install=postsrsd.install license=(GPL2) @@ -20,10 +19,9 @@ md5sums=('cb6e13a06d6bbd7d383efb9bbf0867ce') build() { cd "$srcdir/postsrsd-$pkgver" - ###sed -e 's|${SYSCONF_DIR}/systemd/system|/usr/lib/systemd/system|g' -i postinstall.cmake.in mkdir build cd build - cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DGENERATE_SRS_SECRET=OFF + cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DGENERATE_SRS_SECRET=OFF -DCONFIG_DIR=/etc/postsrsd make all } @@ -34,8 +32,7 @@ package() { #rm -rf $pkgdir/usr/lib mv "$pkgdir/usr/sbin" "$pkgdir/usr/bin" sed -e 's/^\(RUN_AS=\)nobody/#\1postsrsd/;s/\(\/etc\/postsrsd\)\(\.secret\)/\1\/postsrsd\2/' \ - -e 's/^\(# is \).*$/\1localhost\.localdomain/'< postsrsd.default > postsrsd.conf - install -D -m644 "postsrsd.conf" "$pkgdir/etc/postsrsd/postsrsd.conf" + -e 's/^\(# is \).*$/\1localhost\.localdomain/'< postsrsd.default > "$pkgdir/etc/postsrsd/postsrsd" mkdir -p "$pkgdir/usr/lib/systemd/system" mv "$pkgdir/etc/systemd/system/postsrsd.service" "$pkgdir/usr/lib/systemd/system/" } |