# Contributor: Fabian Affolter # Maintainer: Fabian Affolter pkgname=abi-compliance-checker pkgver=1.99.8.5 pkgrel=0 pkgdesc="A tool for checking backward compatibility of a C/C++ library" url="https://github.com/lvc/abi-compliance-checker" arch="noarch" license="LGPL2+" depends="perl build-base" depends_dev="" makedepends="$depends_dev perl-dev" install="" subpackages="" source="$pkgname-$pkgver.tar.gz::https://github.com/lvc/abi-compliance-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 } md5sums="7bd4469e56afa5ec43b94a1d0104a8fe abi-compliance-checker-1.99.8.5.tar.gz" sha256sums="226ec1c745514a85a98da34cb6b0f3340c929163e6ba7d73f69bca731edd8ecb abi-compliance-checker-1.99.8.5.tar.gz" sha512sums="56d0ad3bbc32cd6eb4b5c4e5c7442d161eabab4be67c435b7b3d39d28293243055196f9e08e6e7a2081d851e2a6c7ef76f805803651f83193f9789bca271c8f4 abi-compliance-checker-1.99.8.5.tar.gz"