# Maintainer: Natanael Copa pkgname=liboauth pkgver=1.0.3 pkgrel=5 pkgdesc="OAuth library functions" url="https://liboauth.sourceforge.net/" arch="all" license="MIT" makedepends="nss-dev curl-dev automake autoconf libtool" subpackages="$pkgname-dev $pkgname-doc" source="$pkgname-$pkgver.tar.gz::https://github.com/x42/liboauth/archive/v$pkgver.tar.gz" prepare() { default_prepare autoreconf -vif } build() { ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --localstatedir=/var \ --disable-static \ --enable-nss make } check() { make check } package() { make DESTDIR="$pkgdir" install } sha512sums="94976f9e1ae451b3b312664b8d3e7858913673ef783539df4a033a55ffa05e56410a3dab0cfd8a1d9e839bd6d7fedd3258ac8819c7d3cf1357a862174bf49a71 liboauth-1.0.3.tar.gz"