aports/testing/ircd-hybrid/APKBUILD

51 lines
1.5 KiB
Text

# Contributor: Alex Yam <alex@alexyam.com>
# Maintainer: Celeste <cielesti@protonmail.com>
maintainer="Celeste <cielesti@protonmail.com>"
pkgname=ircd-hybrid
pkgver=8.2.47
pkgrel=0
pkgdesc="Lightweight and high-performance Internet Relay Chat daemon (IRCd)"
url="https://github.com/ircd-hybrid/ircd-hybrid"
arch="all"
license="GPL-2.0-or-later"
makedepends="
jansson-dev
openssl-dev
"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/ircd-hybrid/ircd-hybrid/archive/$pkgver.tar.gz
include-signal.h.patch
"
options="!check" # no test suite
build() {
./configure \
--build="$CBUILD" \
--host="$CHOST" \
--prefix=/usr \
--bindir=/usr/bin \
--sbindir=/usr/sbin \
--libexecdir=/usr/libexec \
--sysconfdir=/etc/ircd-hybrid \
--sharedstatedir=/var/lib/ircd-hybrid/com \
--localstatedir=/var/lib/ircd-hybrid \
--runstatedir=/var/lib/ircd-hybrid/run \
--libdir=/usr/lib \
--includedir=/usr/include \
--oldincludedir=/usr/include \
--datarootdir=/usr/lib \
--infodir=/usr/share/man \
--localedir=/usr/lib/ircd-hybrid/locale \
--mandir=/usr/share/man \
--docdir=/usr/share/ircd-hybrid/doc
make
}
package() {
make DESTDIR="$pkgdir" install
}
sha512sums="
c4646d43bf27b592563e3b500963d924d0111175737caa99d082822af185bce7b2de6156dc04719120ebaf30804deb64c953fec523d2caeb11f809ff4c2fada5 ircd-hybrid-8.2.47.tar.gz
82540a0af3af205651c927831828e49b519d7e5d41c2b9e67e7f694e250b5e0cf75dde0a3297f58a6d66951a7bac428439113b3e1bb49fb03c868314cdc994b2 include-signal.h.patch
"