diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2014-08-25 17:57:21 +0100 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2015-06-01 16:03:42 +0200 |
commit | 276910eeb9cd9658e469ab0b9026c3d66a6ebf02 (patch) | |
tree | f381ea711d00e536b176085ced6425cb539a6cca | |
parent | 51b330497d32fdec4f981b02f7166464bf13ba34 (diff) | |
download | pkgbuilds-opensmtpd.tar.xz |
opensmtpd-ldap: don't hardcode pkgnameopensmtpd
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 8 |
2 files changed, 5 insertions, 5 deletions
@@ -18,7 +18,7 @@ pkgbase = opensmtpd-ldap options = emptydirs backup = etc/smtpd/smtpd.conf backup = etc/smtpd/aliases - source = http://www.opensmtpd.org/archives/opensmtpd-ldap-5.4.2p1.tar.gz + source = http://www.opensmtpd.org/archives/opensmtpd-5.4.2p1.tar.gz source = smtpd.service source = smtpd.socket md5sums = c76b39a5fcc0ad05eea541e74b16e62a @@ -17,7 +17,7 @@ conflicts=('smtp-server' 'smtp-forwarder') backup=('etc/smtpd/smtpd.conf' 'etc/smtpd/aliases') install=opensmtpd.install -source=("http://www.opensmtpd.org/archives/$pkgname-$pkgver.tar.gz" +source=("http://www.opensmtpd.org/archives/opensmtpd-$pkgver.tar.gz" 'smtpd.service' 'smtpd.socket') @@ -26,11 +26,11 @@ md5sums=('c76b39a5fcc0ad05eea541e74b16e62a' 'c2c01e9ca78df3f65efe40a7c0e17ee0') prepare() { - sed -ri 's,/etc/mail,/etc/smtpd,g' "$pkgname-$pkgver/smtpd/smtpd.conf" + sed -ri 's,/etc/mail,/etc/smtpd,g' "opensmtpd-$pkgver/smtpd/smtpd.conf" } build() { - cd "$pkgname-$pkgver" + cd opensmtpd-$pkgver # Remove _FORTIFY_SOURCES: FS#38124 export CPPFLAGS='' @@ -52,7 +52,7 @@ build() { } package() { - cd "$pkgname-$pkgver" + cd opensmtpd-$pkgver make DESTDIR="$pkgdir" install |