From 3cb81c6e618fd4c7130daedad582da631b7416e9 Mon Sep 17 00:00:00 2001 From: Roberto Oliveira Date: Sun, 25 Mar 2018 18:31:55 +0000 Subject: testing/bitlbee-facebook: modernize APKBUILD --- testing/bitlbee-facebook/APKBUILD | 29 ++++++++++++++++------------- 1 file changed, 16 insertions(+), 13 deletions(-) (limited to 'testing/bitlbee-facebook') diff --git a/testing/bitlbee-facebook/APKBUILD b/testing/bitlbee-facebook/APKBUILD index 98d1e0c88a..b45c4ddba0 100644 --- a/testing/bitlbee-facebook/APKBUILD +++ b/testing/bitlbee-facebook/APKBUILD @@ -2,29 +2,32 @@ # Maintainer: Marvin Steadfast pkgname=bitlbee-facebook pkgver=1.1.2 -pkgrel=0 +pkgrel=1 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" +makedepends="bitlbee-dev autoconf automake libtool json-glib-dev" +source="https://github.com/jgeboski/bitlbee-facebook/releases/download/v$pkgver/bitlbee-facebook-$pkgver.tar.gz" + +builddir="$srcdir/$pkgname-$pkgver" + +prepare() { + default_prepare + cd "$builddir" + ./autogen.sh +} -_builddir="$srcdir/bitlbee-facebook-${pkgver}" build() { - cd "$_builddir" - ./autogen.sh || return 1 - ./configure || return 1 - make || return 1 + cd "$builddir" + ./configure + make } package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 + cd "$builddir" + make DESTDIR="$pkgdir" install } sha512sums="1eb4ec83f1ee1866b6507c2ab856e145e133d0c2f0ff3182f3af93499fbd5db231edbee81c0cfa0c8134cf8ac71d6530a9f1fb85fd73921201bfb9652b8b7fa0 bitlbee-facebook-1.1.2.tar.gz" -- cgit v1.2.3