summaryrefslogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD24
1 files changed, 12 insertions, 12 deletions
diff --git a/PKGBUILD b/PKGBUILD
index d8fb9ec..078e4f6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
4# Contributor: Renan Birck <renan.ee.ufsm at gmail.com> 4# Contributor: Renan Birck <renan.ee.ufsm at gmail.com>
5 5
6pkgname=logisim-evolution 6pkgname=logisim-evolution
7pkgver=2.14.6 7pkgver=2.15.0
8pkgrel=1 8pkgrel=1
9pkgdesc='An educational tool for designing and simulating digital logic circuits' 9pkgdesc='An educational tool for designing and simulating digital logic circuits'
10arch=('any') 10arch=('any')
@@ -17,7 +17,7 @@ source=("${pkgname}-${pkgver}.tar.gz::https://github.com/reds-heig/logisim-evolu
17 'logisim-evolution.desktop' 17 'logisim-evolution.desktop'
18 'logisim-evolution.sh' 18 'logisim-evolution.sh'
19 'logisim-evolution.xml') 19 'logisim-evolution.xml')
20sha256sums=('4aa557aafc1c017941ddeb2c7c4871621ff727243b7169b88b01be45bbb5f280' 20sha256sums=('54c55415fce36801ed668c3bed64903444b0f6f3326091d63e84c253523fc8d8'
21 '086851b07012f669743080dc4f059cf7727b19200384070852b34e142533385b' 21 '086851b07012f669743080dc4f059cf7727b19200384070852b34e142533385b'
22 '35b6b4da515f1c5619d35bbedc1469e5ec5b823bf486efdfbb5b705b65e10656' 22 '35b6b4da515f1c5619d35bbedc1469e5ec5b823bf486efdfbb5b705b65e10656'
23 'f90c3709748af806a33c14e81c8bf91dc06c3a4f58fe00cfe14a8f1842e09dec') 23 'f90c3709748af806a33c14e81c8bf91dc06c3a4f58fe00cfe14a8f1842e09dec')
@@ -25,22 +25,22 @@ sha256sums=('4aa557aafc1c017941ddeb2c7c4871621ff727243b7169b88b01be45bbb5f280'
25build() { 25build() {
26 cd "$srcdir/${pkgname}-${pkgver}" 26 cd "$srcdir/${pkgname}-${pkgver}"
27 27
28 ant jar 28 ./gradlew --no-daemon shadowJar
29} 29}
30 30
31package() { 31package() {
32 cd "$srcdir" 32 cd "$srcdir"
33 33
34 install -Dm644 ${pkgname}-${pkgver}/logisim-evolution.jar \ 34 install -Dm644 "${pkgname}-${pkgver}/build/libs/${pkgname}-${pkgver}-all.jar" \
35 "${pkgdir}/usr/share/java/logisim-evolution/logisim-evolution.jar" 35 "${pkgdir}/usr/share/java/${pkgname}/${pkgname}.jar"
36 install -Dm644 logisim-evolution.xml \ 36 install -Dm644 "${pkgname}.xml" \
37 "${pkgdir}/usr/share/mime/packages/logisim-evolution.xml" 37 "${pkgdir}/usr/share/mime/packages/${pkgname}.xml"
38 install -Dm644 logisim-evolution.desktop \ 38 install -Dm644 "${pkgname}.desktop" \
39 "${pkgdir}/usr/share/applications/logisim-evolution.desktop" 39 "${pkgdir}/usr/share/applications/${pkgname}logisim-evolution.desktop"
40 for SIZE in 16 20 24 48 64 128; do 40 for SIZE in 16 20 24 48 64 128; do
41 install -Dm644 ${pkgname}-${pkgver}/resources/logisim/img/logisim-icon-${SIZE}.png \ 41 install -Dm644 "${pkgname}-${pkgver}/src/main/resources/resources/logisim/img/logisim-icon-64.png" \
42 "${pkgdir}/usr/share/icons/hicolor/${SIZE}x${SIZE}/apps/logisim-evolution.png" 42 "${pkgdir}/usr/share/icons/hicolor/${SIZE}x${SIZE}/apps/${pkgname}logisim-evolution.png"
43 done 43 done
44 install -Dm755 logisim-evolution.sh "${pkgdir}/usr/bin/logisim-evolution" 44 install -Dm755 "${pkgname}.sh" "${pkgdir}/usr/bin/${pkgname}"
45} 45}
46 46