diff --git a/arch-local-pkg/PKGBUILD b/arch-local-pkg/PKGBUILD deleted file mode 100644 index 428372b..0000000 --- a/arch-local-pkg/PKGBUILD +++ /dev/null @@ -1,35 +0,0 @@ -# Maintainer: Beat Jäckle - -pkgname=tigerjython -pkgver=2.37 -pkgrel=2 -#pkgrel=5 -pkgdesc='TigerJython IDE' -arch=(x86_64) -url='https://www.tigerjython.ch/' -license=('custom') -depends=('java-runtime>=2') -source=("TigerJython.tar.gz") -b2sums=('SKIP') -_install_path=/usr/share - -build() { - sed -i "s|/opt/${pkgname}|${_install_path}/${pkgname}|g" TigerJython/tigerjython.desktop - sed -i "s|/opt/${pkgname}|${_install_path}/${pkgname}|g" TigerJython/tigerjython -} - -package() { - install -Ddm755 "${pkgdir}/${_install_path}/${pkgname}/Lib" - install -Ddm755 "${pkgdir}/${_install_path}/${pkgname}/TestSamples" - install -Ddm755 "${pkgdir}/usr/share/man/man1/" - - install -Dm644 "${srcdir}/TigerJython/tigerjython2.jar" "${pkgdir}/${_install_path}/${pkgname}/." - install -Dm644 "${srcdir}/TigerJython/Lib/"* "${pkgdir}/${_install_path}/${pkgname}/Lib/." - install -Dm644 "${srcdir}/TigerJython/TestSamples/"* "${pkgdir}/${_install_path}/${pkgname}/TestSamples/." - - install -Dm644 "${srcdir}/TigerJython/man/tigerjython.1.gz" "${pkgdir}/usr/share/man/man1/" - - install -Dm755 "${srcdir}/TigerJython/tigerjython" "${pkgdir}/usr/bin/tigerjython" - install -Dm755 "${srcdir}/TigerJython/tigerjython.desktop" "${pkgdir}/usr/share/applications/tigerjython.desktop" - install -Dm755 "${srcdir}/TigerJython/tigerjython.svg" "${pkgdir}/usr/share/icons/hicolor/scalable/apps/tigerjython.svg" -} diff --git a/arch-local-pkg/TigerJython.tar.gz b/arch-local-pkg/TigerJython.tar.gz deleted file mode 120000 index eec46ac..0000000 --- a/arch-local-pkg/TigerJython.tar.gz +++ /dev/null @@ -1 +0,0 @@ -../TigerJython.tar.gz \ No newline at end of file diff --git a/arch-pkg/PKGBUILD b/arch-pkg/PKGBUILD deleted file mode 100644 index 0890808..0000000 --- a/arch-pkg/PKGBUILD +++ /dev/null @@ -1,60 +0,0 @@ -# Maintainer: Beat Jäckle - -pkgname=tigerjython -pkgver=2.37 -pkgrel=5 -pkgdesc='TigerJython IDE' -arch=(x86_64) -url='https://www.tigerjython.ch/' -license=('custom') -depends=( - 'java-runtime>=2' -) -makedepends=('tar' 'gzip') - -# https://pixabay.com/de/vectors/fu%C3%9Fabdruck-tier-pelzig-pfote-308794/ -source=("https://www.tigerjython.ch/user/pages/download/TigerJython.tar.gz" 'http://jython.tobiaskohn.ch/images/TigerJython_Logo.png') -b2sums=('32181780c1b1a86e7e151e01cf0428726f3c7ccd8c27db9d64cac4b03c1b8a0ae8e32fb029e9d32d3d1baf196f6874418d6a394e8b503bc454fdc367bbf2f01e' - '4ae37420b11b7dd5e7ceb9c00fb48c6f575d6658b0cb0963e38155e79af5ba0cfaf1d00da8c278a6dcf5ae6615bf86b298dabca3c827fb7c80d1c55302a58dc7') -_install_path=/opt - -prepare() { - rm -fr "$pkgname-$pkgver" - mv TigerJython/bin "$pkgname-$pkgver" - mv TigerJython/Readme.txt "$pkgname-$pkgver" - rm -r TigerJython - cd "$pkgname-$pkgver" - rm -r ./jre - find -name ._\* -delete - find -name .DS_Store -delete -} - -build() { - echo "#!/bin/sh" > "${srcdir}/tigerjython" - echo "set -ue" >> "${srcdir}/tigerjython" - echo "java -jar ${_install_path}/${pkgname}/tigerjython2.jar \$@" >> "${srcdir}/tigerjython" - - _desktopfile_path="${srcdir}/tigerjython.desktop" - echo "[Desktop Entry]" > ${_desktopfile_path} - echo "Name=${pkgdesc}" >> ${_desktopfile_path} - echo "Exec=java -jar ${_install_path}/${pkgname}/tigerjython2.jar" >> ${_desktopfile_path} - echo "Icon=tigerjython" >> ${_desktopfile_path} - echo "Type=Application" >> ${_desktopfile_path} - echo "Categories=Education;Science;Math;" >> ${_desktopfile_path} - echo "Keywords=science;math;matrix;plotting;" >> ${_desktopfile_path} - -} - -package() { - - install -Ddm755 "${pkgdir}/${_install_path}/${pkgname}/Lib" - install -Ddm755 "${pkgdir}/${_install_path}/${pkgname}/TestSamples" - - install -Dm644 "${srcdir}/$pkgname-$pkgver/tigerjython2"* "${pkgdir}/${_install_path}/${pkgname}/." - install -Dm644 "${srcdir}/$pkgname-$pkgver/Lib/"* "${pkgdir}/${_install_path}/${pkgname}/Lib/." - install -Dm644 "${srcdir}/$pkgname-$pkgver/TestSamples/"* "${pkgdir}/${_install_path}/${pkgname}/TestSamples/." - - install -Dm755 "${srcdir}/tigerjython" "${pkgdir}/usr/bin/tigerjython" - install -Dm755 "${srcdir}/tigerjython.desktop" "${pkgdir}/usr/share/applications/tigerjython.desktop" - install -Dm755 "${srcdir}/../tigerjython.svg" "${pkgdir}/usr/share/icons/hicolor/scalable/apps/tigerjython.svg" -} diff --git a/arch-pkg/tigerjython-2.37-3-x86_64.pkg.tar.zst b/arch-pkg/tigerjython-2.37-3-x86_64.pkg.tar.zst deleted file mode 100644 index 1c2c47b..0000000 Binary files a/arch-pkg/tigerjython-2.37-3-x86_64.pkg.tar.zst and /dev/null differ diff --git a/arch-pkg/tigerjython.svg b/arch-pkg/tigerjython.svg deleted file mode 100644 index 0586c1d..0000000 --- a/arch-pkg/tigerjython.svg +++ /dev/null @@ -1,110 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - -