diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2020-07-19 20:31:36 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2020-07-19 20:31:36 +0000 |
commit | 8af50c279d7c2958c91f6ea49ba049ce8483cd66 (patch) | |
tree | 2aa869f68b54119d5a5d7a1bbab417cf8ceb7459 /user/astyle/APKBUILD | |
parent | 1495945c6c3085778b0a4075f342b757407f4716 (diff) | |
download | packages-8af50c279d7c2958c91f6ea49ba049ce8483cd66.tar.gz packages-8af50c279d7c2958c91f6ea49ba049ce8483cd66.tar.bz2 packages-8af50c279d7c2958c91f6ea49ba049ce8483cd66.tar.xz packages-8af50c279d7c2958c91f6ea49ba049ce8483cd66.zip |
user/astyle: New package
Diffstat (limited to 'user/astyle/APKBUILD')
-rw-r--r-- | user/astyle/APKBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/user/astyle/APKBUILD b/user/astyle/APKBUILD new file mode 100644 index 000000000..0fbdf7387 --- /dev/null +++ b/user/astyle/APKBUILD @@ -0,0 +1,31 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=astyle +pkgver=3.1 +pkgrel=0 +pkgdesc="Automatic code formatting library" +url="http://astyle.sourceforge.net/" +arch="all" +options="!check" # No test suite. +license="MIT" +depends="" +makedepends="" +subpackages="$pkgname-dev" +source="https://downloads.sourceforge.net/astyle/astyle_${pkgver}_linux.tar.gz + limits.patch + " +builddir="$srcdir"/$pkgname + +build() { + make -C build/gcc shared +} + +package() { + mkdir -p "$pkgdir"/usr/lib + install -D -m644 build/gcc/bin/libastyle.so* "$pkgdir"/usr/lib/ + _soname=$(ls build/gcc/bin) + ln -s $_soname "$pkgdir"/usr/lib/libastyle.so +} + +sha512sums="2e8f13d291abda66bbba30174c364c81a81a490e0a21376f7da7cf471644c22caa37b9eefb100d093bf26d1a8bfa9d2f14b4c2a9b75b3cb84428b4514e277ff2 astyle_3.1_linux.tar.gz +a5bc2d90cbd803219e7a5ff4078ff07ffec407eb31b7694aca089bd4884b8a9e63568974e7583a6981bca78c3ed5a34710fff2c2193f80c972ba5d9dde0f06d0 limits.patch" |