Commit e87ecfb2 authored by A. Klitzing's avatar A. Klitzing

community/uncrustify: upgrade to 0.73.0

parent 2f1d9b7b
# Maintainer: André Klitzing <aklitzing@gmail.com>
pkgname=uncrustify
pkgver=0.72.0
pkgver=0.73.0
pkgrel=0
pkgdesc="Source code beautifier"
url="https://github.com/uncrustify/uncrustify"
......@@ -8,26 +8,27 @@ arch="all"
license="GPL-2.0-or-later"
makedepends="cmake python3"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/uncrustify/uncrustify/archive/uncrustify-$pkgver.tar.gz
https://github.com/uncrustify/uncrustify/commit/45681e882d54aaa7defa15dfd2b5eaaa6856cb50.patch"
source="$pkgname-$pkgver.tar.gz::https://github.com/uncrustify/uncrustify/archive/uncrustify-$pkgver.tar.gz"
builddir="$srcdir/uncrustify-uncrustify-$pkgver"
build() {
cmake -B build . \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make -C build
cmake --build build
}
check() {
make -C build test ARGS="--output-on-failure"
cd build
ctest --output-on-failure
}
package() {
make -C build DESTDIR="$pkgdir" PREFIX=/usr install
DESTDIR="$pkgdir" cmake --install build
install -Dm644 etc/*.cfg -t "$pkgdir"/usr/share/$pkgname
}
sha512sums="bfcbdf0d8198e1dd91f1c8283441a56669610a84d55a17cdd504571da09b26fef026fd3f753acd9950e498f574e6771a206c72b76ffdea97747b7a4fdb481862 uncrustify-0.72.0.tar.gz
8feee9b2066a6ebad5616b78c7ad1ca0b778a047de68508fa2a45fa84e5983e380ae441e95ea5925bbac4bf600582dd29298886156352586cc4f319ea2e3329f 45681e882d54aaa7defa15dfd2b5eaaa6856cb50.patch"
sha512sums="
24b7eb2a76e2dcfca64223df40a434fcdcc281f5937cbf5e78832deb7716ee01b596aedff473af1e3023b33914357582500e4954f4ded009684bc4fb700e64d9 uncrustify-0.73.0.tar.gz
"
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