diff options
Diffstat (limited to 'pcr/libsrs_alt')
-rw-r--r-- | pcr/libsrs_alt/PKGBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/pcr/libsrs_alt/PKGBUILD b/pcr/libsrs_alt/PKGBUILD new file mode 100644 index 000000000..0171bdec2 --- /dev/null +++ b/pcr/libsrs_alt/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: Luke Shumaker <lukeshu@parabola.nu> +# Maintainer (AUR): Sergey Shatunov <me@prok.pw> + +pkgname=libsrs_alt +pkgver=1.0 +pkgrel=1 +pkgdesc="Alternative implementation of the Sender Rewriting Scheme (SRS) for SMTP forwarding" +arch=('i686' 'x86_64' 'armv7h') +url="https://opsec.eu/src/srs/" +license=('GPL') +source=("https://opsec.eu/src/srs/${pkgname}-${pkgver}.tar.bz2") +sha1sums=('09a4b82cec25044c0883e382060451ef757eb530') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + ./configure --prefix=/usr + make +} + +check() { + cd "${srcdir}/${pkgname}-${pkgver}" + make check +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + + make DESTDIR="${pkgdir}" install +} |