summaryrefslogtreecommitdiff
path: root/community/liboauth/PKGBUILD
blob: f11ab42d58f2babb5a2d8feecc542ec7e66794ae (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 43029 2011-03-23 21:35:04Z kchen $
# Maintainer: Kaiting Chen <kaitocracy@gmail.com>
# Contributor: Martin Häger <martin.haeger@gmail.com>

pkgname=liboauth
pkgver=0.9.4
pkgrel=1
pkgdesc='C library implementing OAuth Core RFC 5849'
arch=('i686' 'x86_64')
url='http://liboauth.sourceforge.net/'
license=('MIT')
options=('!libtool')
depends=('curl')

md5sums=('973ded7a1af348c5bfe4e3b6b7e47bd3')
source=("${url}pool/$pkgname-$pkgver.tar.gz")

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr
  make; make DESTDIR=$pkgdir install

  install -Dm644 COPYING.MIT \
  $pkgdir/usr/share/licenses/$pkgname/COPYING
}