From c23ced255d0a9db314024b05035bc90a93d1eeb8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Klitzing?= Date: Fri, 24 Mar 2017 09:59:28 +0100 Subject: testing/uncrustify: move to community --- community/uncrustify/APKBUILD | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 community/uncrustify/APKBUILD (limited to 'community/uncrustify') diff --git a/community/uncrustify/APKBUILD b/community/uncrustify/APKBUILD new file mode 100644 index 0000000000..6fb73cfb35 --- /dev/null +++ b/community/uncrustify/APKBUILD @@ -0,0 +1,35 @@ +# Maintainer: André Klitzing + +pkgname=uncrustify +pkgver=0.64 +pkgrel=0 +pkgdesc="A source code beautifier" +url="https://github.com/uncrustify/uncrustify" +arch="all" +license="GPL2" +makedepends="cmake" +subpackages="$pkgname-doc" +source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz" +builddir="$srcdir" + +build() { + cd "$builddir" + mkdir -p build + cd build + cmake -DCMAKE_INSTALL_PREFIX=/usr .. + make +} + +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 + + cd build + make DESTDIR="$pkgdir" PREFIX=/usr install +} + +md5sums="008904ca40d07c4b3d66c717d59cb65b uncrustify-0.64.tar.gz" +sha256sums="0fca05fe8bac2cd80bf3ed77378c82ffe365f37a3f80b8e0ca2dbb3c6e25f3d7 uncrustify-0.64.tar.gz" +sha512sums="27be7bceccab20d58ad8f7bb875f1270771f9c0994d6aac404743028ccb9002229d5f000d7cfb4264e66409581f7339b88e17e5ad9b8dd2e8817431268411a0f uncrustify-0.64.tar.gz" -- cgit v1.2.3