aboutsummaryrefslogtreecommitdiffstats
path: root/main/ngircd
diff options
context:
space:
mode:
Diffstat (limited to 'main/ngircd')
-rw-r--r--main/ngircd/APKBUILD13
1 files changed, 8 insertions, 5 deletions
diff --git a/main/ngircd/APKBUILD b/main/ngircd/APKBUILD
index c8f0e1fbab..45404557e7 100644
--- a/main/ngircd/APKBUILD
+++ b/main/ngircd/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=ngircd
-pkgver=14.1
-pkgrel=1
+pkgver=15
+pkgrel=0
pkgdesc="Next Generation IRC Daemon"
url="http://ngircd.barton.de/"
license="GPL"
@@ -12,8 +12,7 @@ source="ftp://ftp.berlios.de/pub/$pkgname/$pkgname-$pkgver.tar.gz
$pkgname.initd
"
-build ()
-{
+build() {
cd "$srcdir"/$pkgname-$pkgver
sed -i \
-e "s:/usr/local/etc/ngircd.motd:/etc/ngircd/ngircd.motd:" \
@@ -27,9 +26,13 @@ build ()
--without-ident \
--with-openssl
make || return 1
+}
+
+package() {
+ cd "$srcdir"/$pkgname-$pkgver
make DESTDIR="$pkgdir" install || return 1
install -Dm755 ../$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
}
-md5sums="eef90855414c35bfb6590d17e24ee06f ngircd-14.1.tar.gz
+md5sums="c183a85eba6fe51255983848f099c8ae ngircd-15.tar.gz
50d8388540a2e3eb0630e8ac6369f394 ngircd.initd"