Commit f62f9a1c authored by Leo's avatar Leo
Browse files

community/uncrustify: use python3

parent 8236083b
# 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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment