summaryrefslogtreecommitdiff
path: root/community/flickcurl/PKGBUILD
blob: cd21e0fe91d37d2f14ddef20dc615f87db954985 (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
# $Id: PKGBUILD 100106 2013-11-01 17:15:29Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>

pkgname=flickcurl
pkgver=1.24
pkgrel=2
pkgdesc="C library for the Flickr API"
arch=(i686 x86_64 'mips64el')
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
}