summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO9
-rw-r--r--PKGBUILD15
2 files changed, 10 insertions, 14 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 0950997..0018919 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
1pkgbase = logisim-evolution 1pkgbase = logisim-evolution
2 pkgdesc = An educational tool for designing and simulating digital logic circuits (build from source) 2 pkgdesc = An educational tool for designing and simulating digital logic circuits (build from source)
3 pkgver = 3.4.1 3 pkgver = 3.6.1
4 pkgrel = 3 4 pkgrel = 1
5 url = https://github.com/reds-heig/logisim-evolution 5 url = https://github.com/reds-heig/logisim-evolution
6 install = logisim-evolution.install 6 install = logisim-evolution.install
7 arch = any 7 arch = any
@@ -12,10 +12,9 @@ pkgbase = logisim-evolution
12 provides = logisim-evolution 12 provides = logisim-evolution
13 conflicts = logisim-evolution-git 13 conflicts = logisim-evolution-git
14 conflicts = logisim-evolution-bin 14 conflicts = logisim-evolution-bin
15 source = logisim-evolution-3.4.1.tar.gz::https://github.com/reds-heig/logisim-evolution/archive/v3.4.1.tar.gz 15 source = logisim-evolution-3.6.1.tar.gz::https://github.com/reds-heig/logisim-evolution/archive/v3.6.1.tar.gz
16 source = logisim-evolution.sh 16 source = logisim-evolution.sh
17 sha256sums = bce8ee163e80b56a49a4ec3b5fa10c2b21779146f4c2c44d4bc7560a72566236 17 sha256sums = 181694b68578bf0ecc9e6498e9246e49e60e926b4b047094419baf2f4bb721fb
18 sha256sums = d5975cc0025905ab8a8a451ce4362ba876bed88008d3a5b2c0a7f664a85da1ba 18 sha256sums = d5975cc0025905ab8a8a451ce4362ba876bed88008d3a5b2c0a7f664a85da1ba
19 19
20pkgname = logisim-evolution 20pkgname = logisim-evolution
21
diff --git a/PKGBUILD b/PKGBUILD
index 6927bdb..6eea196 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,4 +1,5 @@
1# Maintainer: maniacata <maniaciachao at gmail dot com> 1# Maintainer: Yigit Sever <yigit at yigitsever dot com>
2# Contributor: maniacata <maniaciachao at gmail dot com>
2# Contributor: Marcin Wieczorek <marcin@marcin.co> 3# Contributor: Marcin Wieczorek <marcin@marcin.co>
3# Contributor: Martin Thierer <thierer@web.de> 4# Contributor: Martin Thierer <thierer@web.de>
4# Contributor: Amy Wilson <awils_1[at]xsmail[dot]com> 5# Contributor: Amy Wilson <awils_1[at]xsmail[dot]com>
@@ -8,8 +9,8 @@
8# Contributor: Renan Birck <renan.ee.ufsm at gmail.com> 9# Contributor: Renan Birck <renan.ee.ufsm at gmail.com>
9 10
10pkgname=logisim-evolution 11pkgname=logisim-evolution
11pkgver=3.4.1 12pkgver=3.6.1
12pkgrel=3 13pkgrel=1
13pkgdesc='An educational tool for designing and simulating digital logic circuits (build from source)' 14pkgdesc='An educational tool for designing and simulating digital logic circuits (build from source)'
14provides=('logisim-evolution') 15provides=('logisim-evolution')
15conflicts=('logisim-evolution-git' 'logisim-evolution-bin') 16conflicts=('logisim-evolution-git' 'logisim-evolution-bin')
@@ -21,7 +22,7 @@ makedepends=('java-environment>=9')
21 22
22source=("${pkgname}-${pkgver}.tar.gz::https://github.com/reds-heig/logisim-evolution/archive/v${pkgver}.tar.gz" 23source=("${pkgname}-${pkgver}.tar.gz::https://github.com/reds-heig/logisim-evolution/archive/v${pkgver}.tar.gz"
23 "${pkgname}.sh") 24 "${pkgname}.sh")
24sha256sums=('bce8ee163e80b56a49a4ec3b5fa10c2b21779146f4c2c44d4bc7560a72566236' 25sha256sums=('181694b68578bf0ecc9e6498e9246e49e60e926b4b047094419baf2f4bb721fb'
25 'd5975cc0025905ab8a8a451ce4362ba876bed88008d3a5b2c0a7f664a85da1ba') 26 'd5975cc0025905ab8a8a451ce4362ba876bed88008d3a5b2c0a7f664a85da1ba')
26 27
27install=$pkgname.install 28install=$pkgname.install
@@ -40,19 +41,15 @@ package() {
40 install -Dm644 "support/Flatpak/com.github.reds.LogisimEvolution.desktop" \ 41 install -Dm644 "support/Flatpak/com.github.reds.LogisimEvolution.desktop" \
41 "${pkgdir}/usr/share/applications/${pkgname}.desktop" 42 "${pkgdir}/usr/share/applications/${pkgname}.desktop"
42 43
43 for SIZE in 16 20 24 48 64 128; do 44 for SIZE in 16 32 48 128 256; do
44 install -Dm644 \ 45 install -Dm644 \
45 "src/main/resources/resources/logisim/img/logisim-icon-${SIZE}.png" \ 46 "src/main/resources/resources/logisim/img/logisim-icon-${SIZE}.png" \
46 "${pkgdir}/usr/share/icons/hicolor/${SIZE}x${SIZE}/apps/${pkgname}.png" 47 "${pkgdir}/usr/share/icons/hicolor/${SIZE}x${SIZE}/apps/${pkgname}.png"
47 done 48 done
48 49
49 install -Dm644 "build/resources/main/resources/logisim/img/logisim-icon.svg" \
50 "${pkgdir}/usr/share/icons/hicolor/scalable/apps/${pkgname}.svg"
51
52 install -Dm755 "${srcdir}/${pkgname}.sh" "${pkgdir}/usr/bin/${pkgname}" 50 install -Dm755 "${srcdir}/${pkgname}.sh" "${pkgdir}/usr/bin/${pkgname}"
53 51
54 sed -e 's|Exec=.*|Exec=/usr/bin/logisim-evolution|' \ 52 sed -e 's|Exec=.*|Exec=/usr/bin/logisim-evolution|' \
55 -e 's|com.github.reds.LogisimEvolution|logisim-evolution|' \ 53 -e 's|com.github.reds.LogisimEvolution|logisim-evolution|' \
56 -i "${pkgdir}/usr/share/applications/${pkgname}.desktop" 54 -i "${pkgdir}/usr/share/applications/${pkgname}.desktop"
57} 55}
58