aboutsummaryrefslogtreecommitdiffstats
path: root/main/charybdis
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2017-07-17 12:00:14 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2017-07-17 12:00:14 +0000
commitfc624abed833ab8e323015c75e0d0e2bf8d9f1d0 (patch)
tree7c97c787f863797f3c26b5a6a5bd6cd532d7c510 /main/charybdis
parent38f55153dc77e0fe66cec9286a12830bb7cf6cfc (diff)
downloadaports-fc624abed833ab8e323015c75e0d0e2bf8d9f1d0.tar.bz2
aports-fc624abed833ab8e323015c75e0d0e2bf8d9f1d0.tar.xz
main/charybdis: improved APKBUILD, updated url
Diffstat (limited to 'main/charybdis')
-rw-r--r--main/charybdis/APKBUILD19
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