summaryrefslogtreecommitdiff
path: root/community/liboauth/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/liboauth/PKGBUILD')
-rw-r--r--community/liboauth/PKGBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/community/liboauth/PKGBUILD b/community/liboauth/PKGBUILD
new file mode 100644
index 000000000..f11ab42d5
--- /dev/null
+++ b/community/liboauth/PKGBUILD
@@ -0,0 +1,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
+}