summaryrefslogtreecommitdiff
path: root/user/bitlbee/APKBUILD
diff options
context:
space:
mode:
authorKiyoshi Aman <kiyoshi.aman+adelie@gmail.com>2019-12-04 04:14:20 -0500
committerKiyoshi Aman <kiyoshi.aman+adelie@gmail.com>2019-12-08 09:40:04 -0500
commit2858ad022ee141127709a59206772da26722f789 (patch)
treeb4a6245a6c2954b927eef8608ee54db5d93fb33a /user/bitlbee/APKBUILD
parent032d4ce8dfbf86b3d18d9d91aec917b5824f1aad (diff)
downloadpackages-2858ad022ee141127709a59206772da26722f789.tar.gz
packages-2858ad022ee141127709a59206772da26722f789.tar.bz2
packages-2858ad022ee141127709a59206772da26722f789.tar.xz
packages-2858ad022ee141127709a59206772da26722f789.zip
user/bitlbee: new package
Diffstat (limited to 'user/bitlbee/APKBUILD')
-rw-r--r--user/bitlbee/APKBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/user/bitlbee/APKBUILD b/user/bitlbee/APKBUILD
new file mode 100644
index 000000000..c61c98095
--- /dev/null
+++ b/user/bitlbee/APKBUILD
@@ -0,0 +1,36 @@
+# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+pkgname=bitlbee
+pkgver=3.5.1
+pkgrel=0
+pkgdesc="IRC gateway server to IM services"
+url="https://www.bitlbee.org"
+arch="all"
+license="GPL-2.0+ AND LGPL-2.1-only AND BSD-2-Clause AND GPL-2.0-only AND ISC"
+depends=""
+makedepends="glib-dev gnutls-dev libgcrypt-dev linux-pam-dev python3"
+checkdepends="check-dev"
+subpackages="$pkgname-dev $pkgname-doc"
+source="http://get.bitlbee.org/src/bitlbee-$pkgver.tar.gz"
+
+build() {
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var \
+ --pam=1
+ make
+}
+
+check() {
+ make check
+}
+
+package() {
+ make DESTDIR="$pkgdir" install install-dev
+}
+
+sha512sums="4eb3b0d3a92910c8dd789cd23338cc6296bf40212c5244fcb27a88ede10e86424ea59c78e719841863701a7fdd8c61819f2775f7b58833e287d9110e49d036f3 bitlbee-3.5.1.tar.gz"