summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormaniacata2020-04-18 19:13:34 +0800
committermaniacata2020-04-18 19:13:34 +0800
commitff0d34302d47101685ac5d373c2708753265881a (patch)
treec3eb945ed924b7197d4d395e0ee910d149c69ea5
parent9ed3bea0d8dc2455e6198cdc9316f80f513ac6b8 (diff)
downloadpackages-ff0d34302d47101685ac5d373c2708753265881a.tar.gz
packages-ff0d34302d47101685ac5d373c2708753265881a.tar.bz2
packages-ff0d34302d47101685ac5d373c2708753265881a.zip
update to 3.3.4
-rw-r--r--.SRCINFO11
-rw-r--r--.gitignore3
-rw-r--r--PKGBUILD51
3 files changed, 31 insertions, 34 deletions
diff --git a/.SRCINFO b/.SRCINFO
index afc3a95..dfd9ad9 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,19 +1,18 @@
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.15.0 3 pkgver = 3.3.4
4 pkgrel = 2 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
7 license = GPL3 7 license = GPL3
8 makedepends = java-environment-openjdk=8 8 depends = java-runtime>=10
9 depends = java-runtime=8
10 depends = bash 9 depends = bash
11 depends = hicolor-icon-theme 10 depends = hicolor-icon-theme
12 source = logisim-evolution-2.15.0.tar.gz::https://github.com/reds-heig/logisim-evolution/archive/v2.15.0.tar.gz 11 source = logisim-evolution-3.3.4.jar::https://github.com/reds-heig/logisim-evolution/releases/download/v3.3.4/logisim-evolution-3.3.4-all.jar
13 source = logisim-evolution.desktop 12 source = logisim-evolution.desktop
14 source = logisim-evolution.sh 13 source = logisim-evolution.sh
15 source = logisim-evolution.xml 14 source = logisim-evolution.xml
16 sha256sums = 54c55415fce36801ed668c3bed64903444b0f6f3326091d63e84c253523fc8d8 15 sha256sums = b04e666ed0b74126dfc8c2ce6ae0d425ad5bb39c2d77ef214158b6dfc67f8b0d
17 sha256sums = 086851b07012f669743080dc4f059cf7727b19200384070852b34e142533385b 16 sha256sums = 086851b07012f669743080dc4f059cf7727b19200384070852b34e142533385b
18 sha256sums = d5975cc0025905ab8a8a451ce4362ba876bed88008d3a5b2c0a7f664a85da1ba 17 sha256sums = d5975cc0025905ab8a8a451ce4362ba876bed88008d3a5b2c0a7f664a85da1ba
19 sha256sums = f90c3709748af806a33c14e81c8bf91dc06c3a4f58fe00cfe14a8f1842e09dec 18 sha256sums = f90c3709748af806a33c14e81c8bf91dc06c3a4f58fe00cfe14a8f1842e09dec
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..b5ec025
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
1resources
2*.tar.*
3*.jar \ No newline at end of file
diff --git a/PKGBUILD b/PKGBUILD
index 0a3ebe8..39d12f4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,4 +1,5 @@
1# Maintainer: Martin Thierer <thierer@web.de> 1# Maintainer: maniacata <maniaciachao at gmail dot com>
2# Contributor: Martin Thierer <thierer@web.de>
2# Contributor: Amy Wilson <awils_1[at]xsmail[dot]com> 3# Contributor: Amy Wilson <awils_1[at]xsmail[dot]com>
3# Contributor: Simon Doppler <dopsi[at]dopsi[dot]ch> 4# Contributor: Simon Doppler <dopsi[at]dopsi[dot]ch>
4# Contributor: Agustin Borgna <hello[at]aborgna.com.ar> 5# Contributor: Agustin Borgna <hello[at]aborgna.com.ar>
@@ -6,45 +7,39 @@
6# Contributor: Renan Birck <renan.ee.ufsm at gmail.com> 7# Contributor: Renan Birck <renan.ee.ufsm at gmail.com>
7 8
8pkgname=logisim-evolution 9pkgname=logisim-evolution
9pkgver=2.15.0 10pkgver=3.3.4
10pkgrel=2 11pkgrel=1
11pkgdesc='An educational tool for designing and simulating digital logic circuits' 12pkgdesc='An educational tool for designing and simulating digital logic circuits'
12arch=('any') 13arch=('any')
13url="https://github.com/reds-heig/logisim-evolution" 14url="https://github.com/reds-heig/logisim-evolution"
14license=('GPL3') 15license=('GPL3')
15depends=('java-runtime=8' 'bash' 'hicolor-icon-theme') 16depends=('java-runtime>=10' 'bash' 'hicolor-icon-theme')
16makedepends=('java-environment-openjdk=8') 17
17 18source=("${pkgname}-${pkgver}.jar::https://github.com/reds-heig/logisim-evolution/releases/download/v${pkgver}/logisim-evolution-${pkgver}-all.jar"
18source=("${pkgname}-${pkgver}.tar.gz::https://github.com/reds-heig/logisim-evolution/archive/v${pkgver}.tar.gz" 19 "${pkgname}.desktop"
19 'logisim-evolution.desktop' 20 "${pkgname}.sh"
20 'logisim-evolution.sh' 21 "${pkgname}.xml")
21 'logisim-evolution.xml') 22sha256sums=('b04e666ed0b74126dfc8c2ce6ae0d425ad5bb39c2d77ef214158b6dfc67f8b0d'
22sha256sums=('54c55415fce36801ed668c3bed64903444b0f6f3326091d63e84c253523fc8d8'
23 '086851b07012f669743080dc4f059cf7727b19200384070852b34e142533385b' 23 '086851b07012f669743080dc4f059cf7727b19200384070852b34e142533385b'
24 'd5975cc0025905ab8a8a451ce4362ba876bed88008d3a5b2c0a7f664a85da1ba' 24 'd5975cc0025905ab8a8a451ce4362ba876bed88008d3a5b2c0a7f664a85da1ba'
25 'f90c3709748af806a33c14e81c8bf91dc06c3a4f58fe00cfe14a8f1842e09dec') 25 'f90c3709748af806a33c14e81c8bf91dc06c3a4f58fe00cfe14a8f1842e09dec')
26 26
27build() {
28 cd "$srcdir/${pkgname}-${pkgver}"
29
30 ./gradlew --no-daemon shadowJar
31}
32
33package() { 27package() {
34 cd "$srcdir" 28 cd "$srcdir"
35 29
36 install -Dm644 "${pkgname}-${pkgver}/build/libs/${pkgname}-${pkgver}-all.jar" \ 30 jar xf ${pkgname}-${pkgver}.jar "resources/logisim/img/"
37 "${pkgdir}/usr/share/java/${pkgname}/${pkgname}.jar" 31
38 install -Dm644 "${pkgname}.xml" \ 32 install -Dm644 ${pkgname}-${pkgver}.jar "${pkgdir}/usr/share/java/${pkgname}/${pkgname}.jar"
39 "${pkgdir}/usr/share/mime/packages/${pkgname}.xml" 33 install -Dm644 ${pkgname}.xml "${pkgdir}/usr/share/mime/packages/${pkgname}.xml"
40 install -Dm644 "${pkgname}.desktop" \ 34 install -Dm644 ${pkgname}.desktop "${pkgdir}/usr/share/applications/${pkgname}.desktop"
41 "${pkgdir}/usr/share/applications/logisim-evolution.desktop" 35
42 for SIZE in 16 24 48 64 128; do 36 for SIZE in 16 20 24 48 64 128; do
43 install -Dm644 "${pkgname}-${pkgver}/src/main/resources/resources/logisim/img/logisim-icon-${SIZE}.png" \ 37 install -Dm644 "resources/logisim/img/logisim-icon-${SIZE}.png" \
44 "${pkgdir}/usr/share/icons/hicolor/${SIZE}x${SIZE}/apps/logisim-evolution.png" 38 "${pkgdir}/usr/share/icons/hicolor/${SIZE}x${SIZE}/apps/${pkgname}.png"
45 done 39 done
46 install -Dm644 "${pkgname}-${pkgver}/src/main/resources/resources/logisim/img/logisim-icon.svg" \ 40 install -Dm644 "resources/logisim/img/logisim-icon.svg" \
47 "${pkgdir}/usr/share/icons/hicolor/scalable/apps/logisim-evolution.svg" 41 "${pkgdir}/usr/share/icons/hicolor/scalable/apps/${pkgname}.svg"
42
48 install -Dm755 "${pkgname}.sh" "${pkgdir}/usr/bin/${pkgname}" 43 install -Dm755 "${pkgname}.sh" "${pkgdir}/usr/bin/${pkgname}"
49} 44}
50 45