public
Created

OpenSMTPD revised PKGBUILD

  • Download Gist
PKGBUILD
Shell
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 31 32
# Maintainer Brad Arrington
 
pkgname=opensmtpd
pkgver=201205220027
pkgrel=1
pkgdesc="OpenSMTPD"
arch=(i686 x86_64)
url="http://www.opensmtpd.org/"
license=('BSD')
conflicts=('sendmail' 'postfix')
options=(!strip)
backup=("etc/mail/smtpd.conf")
source=(http://www.opensmtpd.org/archives/${pkgname}-${pkgver}.tar.gz
bootstrap.patch)
md5sums=('adf5289a389740a165bae1ff59a886ad'
'aa56e5586f1e5a8bb0a919ea8e66984c')
 
build() {
cd "$srcdir/$pkgname"
 
patch -p1 < $srcdir/bootstrap.patch
 
./bootstrap
./configure --prefix=/usr --sysconfdir=/etc
 
make
}
 
package() {
cd "$srcdir/$pkgname"
make DESTDIR="$pkgdir/" install
}

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.