From 388e84804cf16a90279beea36086fd81a106f338 Mon Sep 17 00:00:00 2001 From: Leo Date: Wed, 5 Jun 2019 03:33:17 -0300 Subject: community/astyle: modernize, fix url, fix license --- community/astyle/APKBUILD | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) (limited to 'community/astyle/APKBUILD') diff --git a/community/astyle/APKBUILD b/community/astyle/APKBUILD index 56b561887b4..dc2c9dd5921 100644 --- a/community/astyle/APKBUILD +++ b/community/astyle/APKBUILD @@ -1,29 +1,24 @@ # Maintainer: André Klitzing pkgname=astyle pkgver=3.1 -pkgrel=1 +pkgrel=2 pkgdesc="An automatic code formatter" -url="http://sourceforge.net/projects/astyle" +options="!check" # No testsuite +url="https://sourceforge.net/projects/astyle/" arch="all" -license="LGPL" +license="MIT" source="https://downloads.sourceforge.net/sourceforge/astyle/${pkgname}_${pkgver}_linux.tar.gz -fix-ppc64le-build.patch" + fix-ppc64le-build.patch" builddir="$srcdir/$pkgname" build() { - cd "$builddir/build/gcc" + cd build/gcc make release } -check() { - cd "$builddir/build/gcc" - # upstream do not provide tests - ./bin/astyle --version -} - package() { - cd "$builddir/build/gcc" + cd build/gcc install -Dm0755 bin/astyle "$pkgdir/usr/bin/astyle" } -- cgit v1.2.3