# Contributor: Marvin Steadfast <marvin@xsteadfastx.org>
# Maintainer: Marvin Steadfast <marvin@xsteadfastx.org>
pkgname=bitlbee-facebook
pkgver=1.1.2
pkgrel=0
pkgdesc="Facebook protocol plugin for BitlBee"
url="https://github.com/jgeboski/bitlbee-facebook"
arch="all"
license="GPL"
depends="bitlbee"
depends_dev=""
makedepends="$depends_dev bitlbee-dev autoconf automake libtool json-glib-dev"
install=""
subpackages=""
source="https://github.com/jgeboski/bitlbee-facebook/releases/download/v${pkgver}/bitlbee-facebook-${pkgver}.tar.gz"

_builddir="$srcdir/bitlbee-facebook-${pkgver}"
build() {
	cd "$_builddir"
	./autogen.sh || return 1
	./configure || return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
}

sha512sums="1eb4ec83f1ee1866b6507c2ab856e145e133d0c2f0ff3182f3af93499fbd5db231edbee81c0cfa0c8134cf8ac71d6530a9f1fb85fd73921201bfb9652b8b7fa0  bitlbee-facebook-1.1.2.tar.gz"
