diff options
author | Roberto Oliveira <robertoguimaraes8@gmail.com> | 2018-07-01 22:25:11 +0000 |
---|---|---|
committer | Roberto Oliveira <robertoguimaraes8@gmail.com> | 2018-07-01 22:28:01 +0000 |
commit | ca9782a16b5e92c6a9ede26b398cffc1f1c8c36e (patch) | |
tree | f8f714f142c141d0f7c8094c68a0b1bb4189aa98 /community/flickcurl/APKBUILD | |
parent | e09e8a997ecd938759fad541ddce0656caa2122a (diff) | |
download | aports-ca9782a16b5e92c6a9ede26b398cffc1f1c8c36e.tar.bz2 aports-ca9782a16b5e92c6a9ede26b398cffc1f1c8c36e.tar.xz |
community/flickcurl: modernize and add check
Diffstat (limited to 'community/flickcurl/APKBUILD')
-rw-r--r-- | community/flickcurl/APKBUILD | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/community/flickcurl/APKBUILD b/community/flickcurl/APKBUILD index 356242e889..129e8c75e1 100644 --- a/community/flickcurl/APKBUILD +++ b/community/flickcurl/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Kevin Daudt <ops@ikke.info> pkgname=flickcurl pkgver=1.26 -pkgrel=0 +pkgrel=1 pkgdesc="C library for the Flickr API" url="http://librdf.org/flickcurl/" arch="all" @@ -10,25 +10,28 @@ 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/flickcurl-$pkgver" +builddir="$srcdir/$pkgname-$pkgver" prepare() { cd "$builddir" - update_config_guess || return 1 - default_prepare || return 1 + update_config_guess + default_prepare } build() { cd "$builddir" - ./configure --prefix /usr || return 1 - make || return 1 + ./configure --prefix /usr + make +} + +check() { + cd "$builddir" + make test } package() { cd "$builddir" - make DESTDIR="$pkgdir" install || return 1 + make DESTDIR="$pkgdir" install } -md5sums="7013a36656400dac398748a374c9104f flickcurl-1.26.tar.gz" -sha256sums="ff42a36c7c1c7d368246f6bc9b7d792ed298348e5f0f5d432e49f6803562f5a3 flickcurl-1.26.tar.gz" sha512sums="5ffdef58e67cbf99da2e8eefad57e845627703d5b22c85d5635557cd2df53e47e74d8e3387523495708c5cc8952c290da5c4d5f1e86bd482312fc7e46e9af6cd flickcurl-1.26.tar.gz" |