diff options
author | root <root@rshg054.dnsready.net> | 2011-10-03 23:14:36 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-10-03 23:14:36 +0000 |
commit | 57d05f7209f022aa99a8850aafbeec4cb85c3b5b (patch) | |
tree | 8f6753258e8359d1314356a677cdb32ae94658ab /extra/liboauth | |
parent | ad84169d66d20378d28533c216b73c9a6646d6d7 (diff) |
Mon Oct 3 23:14:36 UTC 2011
Diffstat (limited to 'extra/liboauth')
-rw-r--r-- | extra/liboauth/PKGBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/extra/liboauth/PKGBUILD b/extra/liboauth/PKGBUILD new file mode 100644 index 000000000..1af7a2b70 --- /dev/null +++ b/extra/liboauth/PKGBUILD @@ -0,0 +1,29 @@ +# $Id: PKGBUILD 139509 2011-10-02 17:00:45Z heftig $ +# Maintainer: Jan "heftig" Steffens <jan.steffens@gmail.com> +# Contributor: Kaiting Chen <kaitocracy@gmail.com> +# Contributor: Martin Häger <martin.haeger@gmail.com> + +pkgname=liboauth +pkgver=0.9.4 +pkgrel=2 +pkgdesc='C library implementing OAuth Core RFC 5849' +arch=('i686' 'x86_64') +url='http://liboauth.sourceforge.net' +license=('MIT') +depends=('curl') +options=('!libtool') +source=("$url/pool/$pkgname-$pkgver.tar.gz") +sha256sums=('77e372359caca5375fbcc63ac638f349e6c93c98d291992d8ebb9bb8291ca549') + +build() { + cd "$srcdir/$pkgname-$pkgver" + ./configure --prefix=/usr --disable-static + make + +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir" install + install -Dm644 COPYING.MIT "$pkgdir/usr/share/licenses/$pkgname/COPYING" +} |