diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2016-08-27 17:49:35 +0000 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2016-08-27 17:49:35 +0000 |
commit | ab72b9b3feb79c5521fda5d305d17ab77188ec96 (patch) | |
tree | c7047c031d47a8bbbe302bd5ca80cd6fb370a7a5 /testing/liboauth | |
parent | 4fb3c8ed11196e0b6c254c8d984bf7e4f3987f19 (diff) | |
download | aports-ab72b9b3feb79c5521fda5d305d17ab77188ec96.tar.bz2 aports-ab72b9b3feb79c5521fda5d305d17ab77188ec96.tar.xz |
testing/liboauth: fix source and cleanup
Diffstat (limited to 'testing/liboauth')
-rw-r--r-- | testing/liboauth/APKBUILD | 28 |
1 files changed, 9 insertions, 19 deletions
diff --git a/testing/liboauth/APKBUILD b/testing/liboauth/APKBUILD index 2e0c42518f..cf604790db 100644 --- a/testing/liboauth/APKBUILD +++ b/testing/liboauth/APKBUILD @@ -7,26 +7,16 @@ url="http://liboauth.sourceforge.net/" arch="all" license="MIT" depends="" -depends_dev="nss-dev curl-dev" -makedepends="$depends_dev" +makedepends="nss-dev curl-dev automake autoconf libtool" install="" subpackages="$pkgname-dev $pkgname-doc" -source="http://liboauth.sourceforge.net/pool/liboauth-$pkgver.tar.gz" +source="$pkgname-$pkgver.tar.gz::https://github.com/x42/liboauth/archive/v$pkgver.tar.gz" -_builddir="$srcdir"/liboauth-$pkgver -prepare() { - local i - cd "$_builddir" - update_config_sub || return 1 - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} +builddir="$srcdir"/liboauth-$pkgver build() { - cd "$_builddir" + cd "$builddir" + autoreconf -vif || return 1 ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -42,10 +32,10 @@ build() { } package() { - cd "$_builddir" + cd "$builddir" make DESTDIR="$pkgdir" install || return 1 } -md5sums="689b46c2b3ab1a39735ac33f714c4f7f liboauth-1.0.3.tar.gz" -sha256sums="0df60157b052f0e774ade8a8bac59d6e8d4b464058cc55f9208d72e41156811f liboauth-1.0.3.tar.gz" -sha512sums="5a13818dbb3e0df76f7a3fde451eff4f90c9bebfe2076a294921af0c07c2b0789f717f0f862ac6961562d4227e016dc198ddd7efb9c7ac599c3bfbcdb2ac33fa liboauth-1.0.3.tar.gz" +md5sums="a334455fe331672cd20c131e61e86df7 liboauth-1.0.3.tar.gz" +sha256sums="bbe73b9f576fab0deefadb242c069f2f8bfa4068c738b7666ccd01381502c854 liboauth-1.0.3.tar.gz" +sha512sums="94976f9e1ae451b3b312664b8d3e7858913673ef783539df4a033a55ffa05e56410a3dab0cfd8a1d9e839bd6d7fedd3258ac8819c7d3cf1357a862174bf49a71 liboauth-1.0.3.tar.gz" |