summaryrefslogblamecommitdiff
path: root/user/bitlbee/APKBUILD
blob: fbe734b759ff3fc196821fd0ffaba3ef2b3d3570 (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                         





                                           
                                                            

                                                                              
                        
                                                                     



                                                          
                                    


















                                                                                                                                                                   
# Contributor: Kiyoshi Aman <adelie@aerdan.vulpine.house>
# Maintainer: Kiyoshi Aman <adelie@aerdan.vulpine.house>
pkgname=bitlbee
pkgver=3.5.1
pkgrel=0
pkgdesc="IRC gateway server to IM services"
url="https://www.bitlbee.org"
arch="all"
options="!check"  # Tests are not compatible with new check.
license="GPL-2.0+ AND LGPL-2.1-only AND BSD-2-Clause AND GPL-2.0-only AND ISC"
depends=""
checkdepends="check-dev"
makedepends="glib-dev gnutls-dev libgcrypt-dev linux-pam-dev python3"
subpackages="$pkgname-dev $pkgname-doc"
source="http://get.bitlbee.org/src/bitlbee-$pkgver.tar.gz"

build() {
	PYTHON=python3 ./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"