aboutsummaryrefslogtreecommitdiffstats
path: root/main/ngircd/APKBUILD
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-06-08 07:53:16 -0300
committerNatanael Copa <ncopa@alpinelinux.org>2019-06-11 10:23:43 +0000
commitb31da4c95868cd79cd9f6651f3fd128504fe2814 (patch)
tree7014cab3e915fa995e94d921de655c78f28110a0 /main/ngircd/APKBUILD
parent809f2c5f1efce3e32e9bd7913ff5c8a8cd6b6659 (diff)
downloadaports-b31da4c95868cd79cd9f6651f3fd128504fe2814.tar.gz
aports-b31da4c95868cd79cd9f6651f3fd128504fe2814.tar.bz2
aports-b31da4c95868cd79cd9f6651f3fd128504fe2814.tar.xz
main/ngircd: upgrade to 25
Diffstat (limited to 'main/ngircd/APKBUILD')
-rw-r--r--main/ngircd/APKBUILD33
1 files changed, 9 insertions, 24 deletions
diff --git a/main/ngircd/APKBUILD b/main/ngircd/APKBUILD
index da71f4a6e4..0d90d1dd82 100644
--- a/main/ngircd/APKBUILD
+++ b/main/ngircd/APKBUILD
@@ -1,31 +1,21 @@
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=ngircd
-pkgver=24
-pkgrel=4
+pkgver=25
+pkgrel=0
pkgdesc="Next Generation IRC Daemon"
url="https://ngircd.barton.de/"
arch="all"
license="GPL-2.0-or-later"
-depends=""
makedepends="openssl-dev zlib-dev linux-pam-dev"
-subpackages="$pkgname-doc"
+subpackages="$pkgname-doc $pkgname-openrc"
install="$pkgname.pre-install"
source="https://ngircd.barton.de/pub/ngircd/ngircd-$pkgver.tar.xz
$pkgname.initd
"
-_builddir="$srcdir"/$pkgname-$pkgver
-prepare() {
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
-}
build() {
- cd "$_builddir"
+ cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -35,20 +25,15 @@ build() {
--without-ident \
--with-openssl \
--with-pam \
- --enable-ipv6 \
- || return 1
- make || return 1
+ --enable-ipv6
+ make
}
package() {
- cd "$_builddir"
- make DESTDIR="$pkgdir" install || return 1
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
install -Dm755 ../$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
}
-md5sums="81b9c5ae283d07aab35ce16eaf49e458 ngircd-24.tar.xz
-51c3679a7c1f2f5522031fa856e34734 ngircd.initd"
-sha256sums="173fa0ea10788a8ba08ef2f7e64ea8951d7c88862e744128c8b87bae424b1008 ngircd-24.tar.xz
-890d0dc433a8d7f082c35ba806bac53f19d2d4352fcb7127cc28741abcbd6a75 ngircd.initd"
-sha512sums="d176ec4eb3e780aa8b5efb722c8c0f6fc1a7ac3c06e2039019e6e602aad64ca5357762f1549e117f6e452fe6314fb6cf5bc31a9fdbec1a08cc6d2a344c0bf49f ngircd-24.tar.xz
+sha512sums="61f7606a13daeac3ff69c689ad53c7e8ff70fe4dff6acbfde6a5fd3b2d4e3c9a182d9fc1a93c9e470633ab7cd201c5469b9d39599c56d7c66271d0e295dfb1f4 ngircd-25.tar.xz
50339507917c956a38451394a8a5996337ff29948944ff6aa40ed39f6dd3d6bfdfb864d60a24199c0a86a01e18a71f213efa6cfb2857a320f31b9fcfb92c6ac1 ngircd.initd"