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

                                                 
               
          



                                           
                                                            

                                                                              
                        
                                                                     



                                                          
                                    

















                                                  
                                                                                                                                                                 
# Contributor: Sheila Aman <sheila@vulpine.house>
# Maintainer: Sheila Aman <sheila@vulpine.house>
pkgname=bitlbee
pkgver=3.6
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="ccbf0f23e228de2de147241f36f59744b2256cba958e2fabfba0cfa60935e55bbb7d7e20fffa54da9a345e55ffa9ca82cb62e9b99dc738ba35c6e268c6561a8d  bitlbee-3.6.tar.gz"