1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
2 # Contributor: Kaiting Chen <kaitocracy@gmail.com>
3 # Contributor: Martin Häger <martin.haeger@gmail.com>
6 pkgver=1.0.3+r16+gc26f038
9 pkgdesc="C library implementing OAuth Core RFC 5849"
10 url="https://github.com/x42/liboauth"
15 _commit=c26f038eb9a4d97782e3f9f1e3da2b9356581869 # master
16 source=("git+$url#commit=$_commit")
26 git describe --tags | sed 's/^v//;s/[^-]*-g/r&/;s/-/+/g'
31 ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
32 --disable-static --enable-nss
33 sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
44 make DESTDIR="$pkgdir" install
45 install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 COPYING.MIT
48 # vim:set sw=2 sts=-1 et: