summaryrefslogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorYigit Sever2021-10-08 12:56:28 +0300
committerYigit Sever2021-10-08 12:57:41 +0300
commit1ac9aece504465479d01cdb636ca0f8f1dfa0d88 (patch)
tree35b5decdf100dc1bc5606c94f9da7ee8133384ed /PKGBUILD
parenta034429c68739082d9ae5b9b1a057a191f6e14ec (diff)
downloadpackages-1ac9aece504465479d01cdb636ca0f8f1dfa0d88.tar.gz
packages-1ac9aece504465479d01cdb636ca0f8f1dfa0d88.tar.bz2
packages-1ac9aece504465479d01cdb636ca0f8f1dfa0d88.zip
Update to 3.6.1
Upstream removed SVG icons and asks them to be compiled, I think Will look into it
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD15
1 files changed, 6 insertions, 9 deletions
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