diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 15 |
1 files changed, 6 insertions, 9 deletions
@@ -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 | ||
10 | pkgname=logisim-evolution | 11 | pkgname=logisim-evolution |
11 | pkgver=3.4.1 | 12 | pkgver=3.6.1 |
12 | pkgrel=3 | 13 | pkgrel=1 |
13 | pkgdesc='An educational tool for designing and simulating digital logic circuits (build from source)' | 14 | pkgdesc='An educational tool for designing and simulating digital logic circuits (build from source)' |
14 | provides=('logisim-evolution') | 15 | provides=('logisim-evolution') |
15 | conflicts=('logisim-evolution-git' 'logisim-evolution-bin') | 16 | conflicts=('logisim-evolution-git' 'logisim-evolution-bin') |
@@ -21,7 +22,7 @@ makedepends=('java-environment>=9') | |||
21 | 22 | ||
22 | source=("${pkgname}-${pkgver}.tar.gz::https://github.com/reds-heig/logisim-evolution/archive/v${pkgver}.tar.gz" | 23 | source=("${pkgname}-${pkgver}.tar.gz::https://github.com/reds-heig/logisim-evolution/archive/v${pkgver}.tar.gz" |
23 | "${pkgname}.sh") | 24 | "${pkgname}.sh") |
24 | sha256sums=('bce8ee163e80b56a49a4ec3b5fa10c2b21779146f4c2c44d4bc7560a72566236' | 25 | sha256sums=('181694b68578bf0ecc9e6498e9246e49e60e926b4b047094419baf2f4bb721fb' |
25 | 'd5975cc0025905ab8a8a451ce4362ba876bed88008d3a5b2c0a7f664a85da1ba') | 26 | 'd5975cc0025905ab8a8a451ce4362ba876bed88008d3a5b2c0a7f664a85da1ba') |
26 | 27 | ||
27 | install=$pkgname.install | 28 | install=$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 | |||