diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-06-05 03:20:04 -0300 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2019-06-05 06:36:42 +0000 |
commit | 17531fe4f312f0a853dcfb42cc299b2912c876c1 (patch) | |
tree | df2af183ccf2ff27650e9d97ab501675eff1d870 /main | |
parent | d294f872e4f00a64c66ccbd49ab864b24d1f3692 (diff) | |
download | aports-17531fe4f312f0a853dcfb42cc299b2912c876c1.tar.bz2 aports-17531fe4f312f0a853dcfb42cc299b2912c876c1.tar.xz |
main/api-sanity-checker: modernize, fix url
Diffstat (limited to 'main')
-rw-r--r-- | main/api-sanity-checker/APKBUILD | 32 |
1 files changed, 6 insertions, 26 deletions
diff --git a/main/api-sanity-checker/APKBUILD b/main/api-sanity-checker/APKBUILD index b7f744a10e..ee1e85e360 100644 --- a/main/api-sanity-checker/APKBUILD +++ b/main/api-sanity-checker/APKBUILD @@ -1,39 +1,19 @@ -# Contributor: -# Maintainer: +# Contributor: +# Maintainer: pkgname=api-sanity-checker pkgver=1.98.7 -pkgrel=0 +pkgrel=1 pkgdesc="A tool for creating automated test suites from any set of C sources" -url="http://ispras.linuxbase.org/index.php/API_Sanity_Autotest" +url="https://lvc.github.io/api-sanity-checker/" arch="noarch" license="LGPL-2.0-or-later" depends="perl build-base" -depends_dev="" -makedepends="$depends_dev perl-dev abi-compliance-checker" -install="" -subpackages="" +makedepends="perl-dev abi-compliance-checker" source="$pkgname-$pkgver.tar.gz::https://github.com/lvc/api-sanity-checker/archive/$pkgver.tar.gz" -_builddir="${srcdir}"/$pkgname-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - return 0 -} - package() { - cd "$_builddir" mkdir -p "$pkgdir"/usr - perl Makefile.pl -install --prefix=/usr --destdir="$pkgdir" || return 1 + perl Makefile.pl -install --prefix=/usr --destdir="$pkgdir" } md5sums="420383daff6d30a5daecb8374b79b694 api-sanity-checker-1.98.7.tar.gz" |