summaryrefslogtreecommitdiff
path: root/community/flickcurl/PKGBUILD
blob: 86fcf0017ab0ce08e1e182e3d1cb880bbf0028ee (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 59867 2011-12-01 13:14:32Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>

pkgname=flickcurl
pkgver=1.21
pkgrel=3
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=('d4d364231505dc22a6af42be7bc85edf')

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
}