mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-07 11:45:36 +02:00
31 lines
904 B
Text
31 lines
904 B
Text
# Maintainer: André Klitzing <aklitzing@gmail.com>
|
|
pkgname=astyle
|
|
pkgver=3.6.9
|
|
pkgrel=0
|
|
pkgdesc="Automatic code formatter"
|
|
url="https://sourceforge.net/projects/astyle/"
|
|
arch="all"
|
|
license="MIT"
|
|
depends_dev="$pkgname=$pkgver-r$pkgrel"
|
|
subpackages="$pkgname-dev $pkgname-libs $pkgname-doc"
|
|
source="https://gitlab.com/saalen/astyle/-/archive/$pkgver/astyle-$pkgver.tar.bz2
|
|
makefile-install.patch
|
|
"
|
|
builddir="$srcdir/astyle-$pkgver/AStyle/build/gcc"
|
|
|
|
build() {
|
|
make shared release
|
|
}
|
|
|
|
check() {
|
|
./bin/astyle --version
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" make INSTALL=install install
|
|
}
|
|
|
|
sha512sums="
|
|
2c6c59677558471a70e5d1bd85efb6ca419606d3779d3356893ed6ae729db0430dc7dbd750a53a5375f05f533a713f6b8070813959a368f2fc16c292287d3d68 astyle-3.6.9.tar.bz2
|
|
6bfaba1437af39cb9250f292fdf1409d83f2b9b73c4bb4abf5c06b0d993b2dec050e49ed904650042c2dacd92c4bfb0a32026900a47d5a28635985aa9116833e makefile-install.patch
|
|
"
|