aboutsummaryrefslogtreecommitdiffstats
path: root/community/corebird/APKBUILD
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2017-05-05 10:08:16 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2017-05-05 13:22:03 +0000
commit1e744ea35ec31acdce2fe3b423cd6ca2bf262efc (patch)
treed4c094750582c31b3944964f1dab7646318c9e24 /community/corebird/APKBUILD
parent038e3056094ba6fa0ad2bb0c88a6b193d123e464 (diff)
downloadaports-1e744ea35ec31acdce2fe3b423cd6ca2bf262efc.tar.bz2
aports-1e744ea35ec31acdce2fe3b423cd6ca2bf262efc.tar.xz
community/corebird: upgrade to 1.5, modernize APKBUILD
Diffstat (limited to 'community/corebird/APKBUILD')
-rw-r--r--community/corebird/APKBUILD24
1 files changed, 12 insertions, 12 deletions
diff --git a/community/corebird/APKBUILD b/community/corebird/APKBUILD
index 55cdc09e5d..3c3b9ad49b 100644
--- a/community/corebird/APKBUILD
+++ b/community/corebird/APKBUILD
@@ -7,34 +7,34 @@ pkgdesc="Corebird is a modern, easy and fun Twitter client"
url="http://corebird.baedert.org/"
arch="all"
license="GPL3"
-depends=""
-depends_dev=""
makedepends="gtk+3.0-dev rest-dev json-glib-dev sqlite-dev libsoup-dev libgee-dev
vala tiff automake autoconf libtool intltool glib-dev libxml2-utils file"
-install=""
-options="libtool"
+options="libtool !check"
subpackages="$pkgname-lang $pkgname-doc"
source="${pkgname}-${pkgver}.tar.gz::https://github.com/baedert/$pkgname/archive/$pkgver.tar.gz
- disable-gst-check.diff"
+ disable-gst-check.patch"
builddir=${srcdir}/${pkgname}-${pkgver}
-build() {
+prepare() {
cd "$builddir"
NOCONFIGURE=yes ./autogen.sh
- patch -p1 < "$srcdir"/disable-gst-check.diff
+ default_prepare
+}
+
+build() {
+ cd "$builddir"
./configure \
--prefix=/usr \
--disable-video \
--disable-gst-check \
- --disable-spellcheck \
- || return 1
- make || return 1
+ --disable-spellcheck
+ make
}
package() {
cd "$builddir"
- make DESTDIR="$pkgdir" install || return 1
+ make DESTDIR="$pkgdir" install
}
sha512sums="eb0356c28bd4a3385c2194a4a05448741a579c521df481cff8c5f873e8769ccfe72a38a3fa709a43276b107a94c8c900e9163c517fcd7fe23cd738ff59de3eb0 corebird-1.5.tar.gz
-ce31141924a58b9081453b4c9490b22f2d039624a8f06d8f9418c5b8581cb8443a57db304d1112331dda547905cbe3df0c26f08f62ff78a2b210465fc3506e94 disable-gst-check.diff"
+ce31141924a58b9081453b4c9490b22f2d039624a8f06d8f9418c5b8581cb8443a57db304d1112331dda547905cbe3df0c26f08f62ff78a2b210465fc3506e94 disable-gst-check.patch"