1 # Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
2 # Contributor: Kaiting Chen <kaitocracy@gmail.com>
3 # Contributor: Martin Häger <martin.haeger@gmail.com>
6 pkgver=1.0.3+14+g186fb14
8 pkgdesc="C library implementing OAuth Core RFC 5849"
9 url="https://github.com/x42/liboauth"
14 _commit=186fb14843c1bc98b70ece02c74b5696b3de9ce7 # master
15 source=("git+$url#commit=$_commit")
25 git describe --tags | sed 's/^v//;s/-/+/g'
30 ./configure --prefix=/usr --disable-static --enable-nss
31 sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
42 make DESTDIR="$pkgdir" install
43 install -Dm644 COPYING.MIT "$pkgdir/usr/share/licenses/$pkgname/COPYING"