From 17531fe4f312f0a853dcfb42cc299b2912c876c1 Mon Sep 17 00:00:00 2001
From: Leo <thinkabit.ukim@gmail.com>
Date: Wed, 5 Jun 2019 03:20:04 -0300
Subject: [PATCH] main/api-sanity-checker: modernize, fix url

---
 main/api-sanity-checker/APKBUILD | 32 ++++++--------------------------
 1 file changed, 6 insertions(+), 26 deletions(-)

diff --git a/main/api-sanity-checker/APKBUILD b/main/api-sanity-checker/APKBUILD
index b7f744a10e13..ee1e85e3603e 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"
-- 
GitLab