summaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-12-30 15:53:22 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-12-30 15:53:22 +0000
commit6536a0b245a54a18f9ea7b075afc7213ca517059 (patch)
tree7b61bb03e4da048c0c01e2addce681915d01a142 /main
parent3cbb8562295f689bac117b6fc4c14897a5d9f0a5 (diff)
downloadaports-6536a0b245a54a18f9ea7b075afc7213ca517059.tar.bz2
aports-6536a0b245a54a18f9ea7b075afc7213ca517059.tar.xz
main/ngircd: upgrade to 15
Diffstat (limited to 'main')
-rw-r--r--main/ngircd/APKBUILD13
1 files changed, 8 insertions, 5 deletions
diff --git a/main/ngircd/APKBUILD b/main/ngircd/APKBUILD
index c8f0e1fba..45404557e 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"