blob: b3af99263516c331c70ef1ed473e8a1a5e4704cf (
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
26
27
28
|
# $Id: PKGBUILD 198211 2013-10-30 13:28:54Z allan $
# 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=1.0.1
pkgrel=1
pkgdesc='C library implementing OAuth Core RFC 5849'
arch=(mips64el)
url='http://liboauth.sourceforge.net'
license=('MIT')
depends=('curl')
source=("$url/pool/$pkgname-$pkgver.tar.gz")
sha256sums=('5087d32fe1db7b588246a7de64fc0c2464c95efdebb2c7fe6f482d9b00e68d8b')
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"
}
|