aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD8
2 files changed, 5 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f008470..f2ecd91 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index c30ffa9..f68c29c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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