summaryrefslogtreecommitdiff
path: root/pcr/libsrs_alt/PKGBUILD
blob: 0171bdec25ab90a920994f0f6ea0ee23af0ae83a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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
}