summaryrefslogtreecommitdiff
path: root/community/liboauth/PKGBUILD
blob: 967c3c52beda6aea6f0fa99eba1c94c5e598920a (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' 'mips64el')
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
}