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+r15+gac4cf3a
9 pkgdesc="C library implementing OAuth Core RFC 5849"
10 url="https://github.com/x42/liboauth"
15 _commit=ac4cf3a6cccd2b8496fd5e53483811a6b519f2c2 # master
16 source=("git+$url#commit=$_commit")
26 git describe --tags | sed 's/^v//;s/[^-]*-g/r&/;s/-/+/g'
31 ./configure --prefix=/usr --disable-static --enable-nss
32 sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
43 make DESTDIR="$pkgdir" install
44 install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 COPYING.MIT