blob: 6796ff37a0ad0b3edcc4f2f2a85a8629e64f7222 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# Maintainer: André Klitzing <aklitzing@gmail.com>
pkgname=astyle
pkgver=3.0.1
pkgrel=0
pkgdesc="An automatic code formatter"
url="http://sourceforge.net/projects/astyle"
arch="all"
license="LGPL"
source="http://downloads.sourceforge.net/sourceforge/astyle/${pkgname}_${pkgver}_linux.tar.gz"
builddir="$srcdir/$pkgname/build/gcc"
build() {
cd "$builddir"
make release
}
check() {
cd "$builddir"
# upstream do not provide tests
./bin/astyle --version
}
package() {
cd "$builddir"
install -Dm0755 bin/astyle "$pkgdir/usr/bin/astyle"
}
sha512sums="3e8d617c0ec89682bfb076081bb63ae9d44e897de0c85d5109b28adbbfe0620d5dacf59a4bd96ac30a5a4fcb3be136758e9c6fe2c69258b37956c212890a7158 astyle_3.0.1_linux.tar.gz"
|