aboutsummaryrefslogtreecommitdiffstats
path: root/community/flickcurl/APKBUILD
blob: 129e8c75e11f8c9daa4d7895a8413b84c56b7c38 (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
30
31
32
33
34
35
36
37
# Contributor: Kevin Daudt <ops@ikke.info>
# Maintainer: Kevin Daudt <ops@ikke.info>
pkgname=flickcurl
pkgver=1.26
pkgrel=1
pkgdesc="C library for the Flickr API"
url="http://librdf.org/flickcurl/"
arch="all"
license="GPL-2.0"
makedepends="curl-dev libxml2-dev raptor2-dev"
subpackages="$pkgname-dev $pkgname-doc $pkgname-libs"
source="http://download.dajobe.org/flickcurl/flickcurl-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"

prepare() {
	cd "$builddir"
	update_config_guess
	default_prepare
}

build() {
	cd "$builddir"
	./configure --prefix /usr
	make
}

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

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

sha512sums="5ffdef58e67cbf99da2e8eefad57e845627703d5b22c85d5635557cd2df53e47e74d8e3387523495708c5cc8952c290da5c4d5f1e86bd482312fc7e46e9af6cd  flickcurl-1.26.tar.gz"