summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD24
2 files changed, 15 insertions, 15 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 78d732e..f684938 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
1pkgbase = logisim-evolution 1pkgbase = logisim-evolution
2 pkgdesc = An educational tool for designing and simulating digital logic circuits 2 pkgdesc = An educational tool for designing and simulating digital logic circuits
3 pkgver = 2.14.6 3 pkgver = 2.15.0
4 pkgrel = 1 4 pkgrel = 1
5 url = https://github.com/reds-heig/logisim-evolution 5 url = https://github.com/reds-heig/logisim-evolution
6 arch = any 6 arch = any
@@ -10,11 +10,11 @@ pkgbase = logisim-evolution
10 depends = java-runtime=8 10 depends = java-runtime=8
11 depends = bash 11 depends = bash
12 depends = hicolor-icon-theme 12 depends = hicolor-icon-theme
13 source = logisim-evolution-2.14.6.tar.gz::https://github.com/reds-heig/logisim-evolution/archive/v2.14.6.tar.gz 13 source = logisim-evolution-2.15.0.tar.gz::https://github.com/reds-heig/logisim-evolution/archive/v2.15.0.tar.gz
14 source = logisim-evolution.desktop 14 source = logisim-evolution.desktop
15 source = logisim-evolution.sh 15 source = logisim-evolution.sh
16 source = logisim-evolution.xml 16 source = logisim-evolution.xml
17 sha256sums = 4aa557aafc1c017941ddeb2c7c4871621ff727243b7169b88b01be45bbb5f280 17 sha256sums = 54c55415fce36801ed668c3bed64903444b0f6f3326091d63e84c253523fc8d8
18 sha256sums = 086851b07012f669743080dc4f059cf7727b19200384070852b34e142533385b 18 sha256sums = 086851b07012f669743080dc4f059cf7727b19200384070852b34e142533385b
19 sha256sums = 35b6b4da515f1c5619d35bbedc1469e5ec5b823bf486efdfbb5b705b65e10656 19 sha256sums = 35b6b4da515f1c5619d35bbedc1469e5ec5b823bf486efdfbb5b705b65e10656
20 sha256sums = f90c3709748af806a33c14e81c8bf91dc06c3a4f58fe00cfe14a8f1842e09dec 20 sha256sums = f90c3709748af806a33c14e81c8bf91dc06c3a4f58fe00cfe14a8f1842e09dec
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