aboutsummaryrefslogtreecommitdiffstats
path: root/community/corebird/APKBUILD
blob: 94d340658219bb2e5ad39276fccc58cbf15c6902 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# Contributor: ScrumpyJack <scrumpyjack@st.ilet.to>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=corebird
pkgver=1.7.4
pkgrel=0
pkgdesc="Corebird is a modern, easy and fun Twitter client"
url="https://corebird.baedert.org/"
arch="all"
license="GPL-3.0"
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"
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.patch"
builddir=${srcdir}/${pkgname}-${pkgver}

prepare() {
	cd "$builddir"
	NOCONFIGURE=yes ./autogen.sh
	default_prepare
}

build() {
	cd "$builddir"
	./configure \
		--prefix=/usr \
		--disable-video \
		--disable-gst-check \
		--disable-spellcheck
	make
}

check() {
	cd "$builddir"
	make check
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="7e88f73ef1fc36379172d30251065e7ee3df54eabfaf954015ed4e739c5ad2b1821b43a07e66bb9363b7daa59b5e981d459a4aef87be8a3dd80a7ed41e37e582  corebird-1.7.4.tar.gz
ce31141924a58b9081453b4c9490b22f2d039624a8f06d8f9418c5b8581cb8443a57db304d1112331dda547905cbe3df0c26f08f62ff78a2b210465fc3506e94  disable-gst-check.patch"