aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-10-23 03:39:33 -0300
committerLeo <thinkabit.ukim@gmail.com>2019-10-23 05:16:28 -0300
commitf62f9a1c3c80c60a5caba0beeb77d2f30689e38e (patch)
treed32b07e644e9fa2bbd111e6758be0800fd018a3c
parent8236083bc8f87200c2a71131955626d896673d24 (diff)
downloadaports-f62f9a1c3c80c60a5caba0beeb77d2f30689e38e.tar.bz2
aports-f62f9a1c3c80c60a5caba0beeb77d2f30689e38e.tar.xz
community/uncrustify: use python3
-rw-r--r--community/uncrustify/APKBUILD10
1 files changed, 4 insertions, 6 deletions
diff --git a/community/uncrustify/APKBUILD b/community/uncrustify/APKBUILD
index e10da258a1..4891f366bc 100644
--- a/community/uncrustify/APKBUILD
+++ b/community/uncrustify/APKBUILD
@@ -1,18 +1,17 @@
# Maintainer: André Klitzing <aklitzing@gmail.com>
pkgname=uncrustify
pkgver=0.69.0
-pkgrel=0
+pkgrel=1
pkgdesc="A source code beautifier"
url="https://github.com/uncrustify/uncrustify"
arch="all"
-license="GPL-2.0"
-makedepends="cmake python2"
+license="GPL-2.0-or-later"
+makedepends="cmake python3"
subpackages="$pkgname-doc"
-source="https://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz"
+source="https://downloads.sourceforge.net/uncrustify/uncrustify-$pkgver.tar.gz"
builddir="$srcdir"
build() {
- cd "$builddir"
[ "$CARCH" = "s390x" ] && sed -i '/^12004/d' tests/c-sharp.test
mkdir -p build
cd build
@@ -26,7 +25,6 @@ check() {
}
package() {
- cd "$builddir"
install -d -m755 "$pkgdir"/usr/share/$pkgname
install -m644 etc/*.cfg "$pkgdir"/usr/share/$pkgname
install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING