aboutsummaryrefslogtreecommitdiffstats
path: root/testing/corebird/APKBUILD
blob: ca9965798f9572c7fa60f5f1ba37bd667aba5d81 (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@me.com>
# Maintainer:
pkgname=corebird
pkgver=1.0
pkgrel=0
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"
install=""
subpackages="$pkgname-lang $pkgname-doc"
source="saveas-https://github.com/baedert/corebird/archive/1.0.tar.gz/${pkgname}-${pkgver}.tar.gz"
options="libtool"

_builddir=${srcdir}/${pkgname}-${pkgver}
prepare() {
	local i
	cd "$_builddir"
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

build() {
	cd "$_builddir"
        ./autogen.sh \
           --disable-video \
           --prefix=/usr || return 1
        make || return 1
}

package() {
	cd "$_builddir"
        make DESTDIR="$pkgdir" install || return 1
}

md5sums="612f390b1ec732cd6e8fce1e58209256  corebird-1.0.tar.gz"
sha256sums="0ca4ca20b0281b2901382810ef8bd1682bb896c3915ad3bea3f2a41461118001  corebird-1.0.tar.gz"
sha512sums="098dd764a3aecaeda90ad5b0e24a4bf172025ce1a4105b713a1a73385d1de9cca028d7a34a39e9682ad4e2b2b22d4bf2889668c587e363cdfa6053136b1f4c39  corebird-1.0.tar.gz"