aboutsummaryrefslogtreecommitdiffstats
path: root/community/cawbird/APKBUILD
blob: fe4a9a8baa64092afeefe58bee8037d5aeb03ec3 (plain) (blame)
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
# Contributor: Danct12 <danct12@disroot.org>
# Maintainer: Danct12 <danct12@disroot.org>
pkgname=cawbird
pkgver=1.4.2
pkgrel=0
pkgdesc="Fork of the Corebird GTK Twitter client that continues to work with Twitter"
url="https://ibboard.co.uk/cawbird"
arch="all"
license="GPL-3.0-or-later"
makedepends="gtk+3.0-dev gspell-dev gst-plugins-base-dev libsoup-dev
	json-glib-dev meson ninja sqlite-dev vala rest-dev liboauth-dev"
options="!check" # Error creating directory /home/pmos/.config/cawbird: No such file or directory
source="$pkgname-$pkgver.tar.gz::https://github.com/IBBoard/cawbird/archive/v$pkgver.tar.gz"
subpackages="$pkgname-doc $pkgname-lang"
_consumerkey="VmY5dG9yRFcyWk93MzJEZmhVdEk5Y3NMOA=="
_consumersecret="MThCRXIxbWRESDQ2Y0podzVtVU13SGUyVGlCRXhPb3BFRHhGYlB6ZkpybG5GdXZaSjI="

build() {
	abuild-meson -Dconsumer_key_base64="$_consumerkey" -Dconsumer_secret_base64="$_consumersecret" . output
	meson compile ${JOBS:+-j ${JOBS}} -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="
409d2b838b9c14c45fb6aa2b04dc1ccaaf76baab7394d630d254dc9a4001f7f53321b88f600e2c3f9c39e19da38dd717f46abb4a63b11696f41e61b9ab8e6452  cawbird-1.4.2.tar.gz
"