[arch-commits] Commit in astyle/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Mon Aug 26 06:35:19 UTC 2019
Date: Monday, August 26, 2019 @ 06:35:19
Author: arojas
Revision: 501817
Add missing .so symlinks (FS#57590), install header
Modified:
astyle/trunk/PKGBUILD
----------+
PKGBUILD | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-08-26 06:09:07 UTC (rev 501816)
+++ PKGBUILD 2019-08-26 06:35:19 UTC (rev 501817)
@@ -7,7 +7,7 @@
pkgname=astyle
pkgver=3.1
_pkgver=3.1.0
-pkgrel=1
+pkgrel=2
pkgdesc='A free, fast and small automatic formatter for C, C++, C#, and Java source code.'
arch=('x86_64')
url='https://sourceforge.net/projects/astyle/'
@@ -26,6 +26,11 @@
install -Dm0755 bin/astyle "$pkgdir/usr/bin/astyle"
install -Dm0755 "bin/libastyle.so.${_pkgver}" "$pkgdir/usr/lib/libastyle.so.${_pkgver}"
+ ln -s libastyle.so.${_pkgver} "$pkgdir"/usr/lib/libastyle.so.${_pkgver%%\.*}
+ ln -s libastyle.so.${_pkgver} "$pkgdir"/usr/lib/libastyle.so
+
+ # install header
+ install -Dm0644 ../../src/astyle.h -t "$pkgdir"/usr/include
# install documentation (implements FS#23290)
install -d "$pkgdir/usr/share/doc/$pkgname/"
More information about the arch-commits
mailing list