🔒 Repository is read-only – file editing is disabled.
1234567891011121314151617181920212223242526272829303132333435
pkgname: astyle
pkgver: '3.6.18'
pkgrel: 1
pkgdesc: A free, fast and small automatic formatter for C, C++, C sharp, and Java source code.
url: 'https://astyle.sourceforge.net/'
arch: x86_64
license:
- MIT
depends: []
makedepends: []
source:
- 'https://sourceforge.net/projects/astyle/files/astyle/astyle%203.6/${pkgname}-${pkgver}.tar.bz2'
sha256sums:
- SKIP
build: |
cd ${pkgname}-${pkgver}/build/gcc
make release shared
install -Dm0755 bin/astyle ${PKGDIR}/usr/bin/astyle
install -Dm0755 bin/libastyle.so.3.6.13 ${PKGDIR}/usr/lib/libastyle.so.3.6.13
# Tworzenie właściwych symlinków do pliku .so (w tym libastyle.so.3 wymagany przez footprint)
ln -sr ${PKGDIR}/usr/lib/libastyle.so.3.6.13 ${PKGDIR}/usr/lib/libastyle.so.3
ln -sr ${PKGDIR}/usr/lib/libastyle.so.3.6.13 ${PKGDIR}/usr/lib/libastyle.so
install -Dm0644 ../../src/astyle.h -t ${PKGDIR}/usr/include
install -d ${PKGDIR}/usr/share/doc/${pkgname}
for i in ../../doc/*.html; do
install -m0644 "$i" ${PKGDIR}/usr/share/doc/${pkgname}
done
# Poprawiona ścieżka do pliku licencji
install -Dm0644 "../../LICENSE.md" ${PKGDIR}/usr/share/licenses/${pkgname}/LICENSE.md
package: 'true'