summaryrefslogtreecommitdiff
path: root/user/astyle/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-07-19 20:57:42 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-07-19 20:57:42 +0000
commit0fc83cd37a4ff05f61237bcb1becd133cd1d937d (patch)
treecb37a75864b3537b8834f32789153a81604c33b4 /user/astyle/APKBUILD
parentbba2a9fd8fa785d53ae62f38b29448099d45bc85 (diff)
downloadpackages-0fc83cd37a4ff05f61237bcb1becd133cd1d937d.tar.gz
packages-0fc83cd37a4ff05f61237bcb1becd133cd1d937d.tar.bz2
packages-0fc83cd37a4ff05f61237bcb1becd133cd1d937d.tar.xz
packages-0fc83cd37a4ff05f61237bcb1becd133cd1d937d.zip
user/astyle: Fix -dev, add -doc
Diffstat (limited to 'user/astyle/APKBUILD')
-rw-r--r--user/astyle/APKBUILD9
1 files changed, 6 insertions, 3 deletions
diff --git a/user/astyle/APKBUILD b/user/astyle/APKBUILD
index 0fbdf7387..ace28efdb 100644
--- a/user/astyle/APKBUILD
+++ b/user/astyle/APKBUILD
@@ -10,7 +10,7 @@ options="!check" # No test suite.
license="MIT"
depends=""
makedepends=""
-subpackages="$pkgname-dev"
+subpackages="$pkgname-dev $pkgname-doc"
source="https://downloads.sourceforge.net/astyle/astyle_${pkgver}_linux.tar.gz
limits.patch
"
@@ -21,10 +21,13 @@ build() {
}
package() {
- mkdir -p "$pkgdir"/usr/lib
- install -D -m644 build/gcc/bin/libastyle.so* "$pkgdir"/usr/lib/
+ mkdir -p "$pkgdir"/usr/lib "$pkgdir"/usr/include \
+ "$pkgdir"/usr/share/doc/astyle-$pkgver
+ install -m644 build/gcc/bin/libastyle.so* "$pkgdir"/usr/lib/
_soname=$(ls build/gcc/bin)
ln -s $_soname "$pkgdir"/usr/lib/libastyle.so
+ install -m644 src/astyle.h "$pkgdir"/usr/include/
+ install -D -m644 doc/* "$pkgdir"/usr/share/doc/astyle-$pkgver/
}
sha512sums="2e8f13d291abda66bbba30174c364c81a81a490e0a21376f7da7cf471644c22caa37b9eefb100d093bf26d1a8bfa9d2f14b4c2a9b75b3cb84428b4514e277ff2 astyle_3.1_linux.tar.gz