diff options
Diffstat (limited to 'community/flickcurl/PKGBUILD')
-rw-r--r-- | community/flickcurl/PKGBUILD | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/community/flickcurl/PKGBUILD b/community/flickcurl/PKGBUILD new file mode 100644 index 000000000..9b316bb1c --- /dev/null +++ b/community/flickcurl/PKGBUILD @@ -0,0 +1,25 @@ +# $Id: PKGBUILD 88309 2013-04-16 13:27:02Z spupykin $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> + +pkgname=flickcurl +pkgver=1.24 +pkgrel=1 +pkgdesc="C library for the Flickr API" +arch=(i686 x86_64) +url="http://librdf.org/flickcurl/" +license=('GPL') +depends=('raptor' 'curl') +source=(http://download.dajobe.org/flickcurl/flickcurl-$pkgver.tar.gz) +md5sums=('7cf6a627465471d76a5f4dc31099d9cf') + +build() { + cd "$srcdir/$pkgname-$pkgver" + sed -i 's|#include <curl/types.h>||' src/flickcurl_internal.h + ./configure --prefix=/usr + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir/" install +} |