diff options
Diffstat (limited to 'main/charybdis')
-rw-r--r-- | main/charybdis/APKBUILD | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/main/charybdis/APKBUILD b/main/charybdis/APKBUILD index 7fd2e078bd..211cfcd22c 100644 --- a/main/charybdis/APKBUILD +++ b/main/charybdis/APKBUILD @@ -2,15 +2,13 @@ # Maintainer: Francesco Colista <fcolista@alpinelinux.org> pkgname=charybdis pkgver=3.5.5 -pkgrel=1 +pkgrel=2 pkgdesc="A highly-scalable IRCv3-compliant IRC daemon" -url="http://www.atheme.org/project/charybdis.html" +url="http://atheme.org/projects/charybdis.html" arch="all" license="BSD GPL2" pkgusers="ircd" -depends="" -depends_dev="bison flex libressl-dev zlib-dev libtool" -makedepends="$depends_dev" +makedepends="bison flex libressl-dev zlib-dev libtool file" install="$pkgname.pre-install" subpackages="$pkgname-dev $pkgname-doc" source="$pkgname-$pkgver.tar.gz::https://github.com/charybdis-ircd/$pkgname/archive/$pkgname-$pkgver.tar.gz @@ -32,19 +30,18 @@ build() { --enable-ssl \ --enable-ipv6 \ --with-rundir=/var/run \ - --with-program-prefix=charybdis- \ - || return 1 - make || return 1 + --with-program-prefix=charybdis- + make } package() { cd "$builddir" - make DESTDIR="$pkgdir" install || return 1 + make DESTDIR="$pkgdir" install install -m755 -D "$srcdir"/$pkgname.initd \ - "$pkgdir"/etc/init.d/charybdis-ircd || return 1 + "$pkgdir"/etc/init.d/charybdis-ircd install -m644 -D "$srcdir"/$pkgname.confd \ - "$pkgdir"/etc/conf.d/charybdis-ircd || return 1 + "$pkgdir"/etc/conf.d/charybdis-ircd chown ircd "$pkgdir"/var/run/charybdis chown ircd "$pkgdir"/var/log/charybdis chown ircd "$pkgdir"/var/charybdis |