aboutsummaryrefslogtreecommitdiffstats
path: root/testing/bitlbee-facebook
diff options
context:
space:
mode:
authorRoberto Oliveira <robertoguimaraes8@gmail.com>2018-03-25 18:31:55 +0000
committerRoberto Oliveira <robertoguimaraes8@gmail.com>2018-03-25 18:31:55 +0000
commit3cb81c6e618fd4c7130daedad582da631b7416e9 (patch)
tree3e3e63119f8cbaeeb56c5e6a2231413419267622 /testing/bitlbee-facebook
parentc13b5c993b1105a6b11b6e37ed9a53c67e5b6b81 (diff)
downloadaports-3cb81c6e618fd4c7130daedad582da631b7416e9.tar.bz2
aports-3cb81c6e618fd4c7130daedad582da631b7416e9.tar.xz
testing/bitlbee-facebook: modernize APKBUILD
Diffstat (limited to 'testing/bitlbee-facebook')
-rw-r--r--testing/bitlbee-facebook/APKBUILD29
1 files changed, 16 insertions, 13 deletions
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 <marvin@xsteadfastx.org>
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"