From cf6e53735983c49fd3a2fb965883167009e4624a Mon Sep 17 00:00:00 2001 From: Simon Doppler Date: Mon, 23 Oct 2017 10:38:06 +0200 Subject: Initial commit --- .SRCINFO | 25 +++++++++++++++++++++++++ PKGBUILD | 46 ++++++++++++++++++++++++++++++++++++++++++++++ logisim-evolution.desktop | 9 +++++++++ logisim-evolution.sh | 3 +++ logisim-evolution.xml | 9 +++++++++ 5 files changed, 92 insertions(+) create mode 100644 .SRCINFO create mode 100644 PKGBUILD create mode 100644 logisim-evolution.desktop create mode 100644 logisim-evolution.sh create mode 100644 logisim-evolution.xml diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..bf7ae77 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,25 @@ +# Generated by mksrcinfo v8 +# Mon Oct 23 08:37:46 UTC 2017 +pkgbase = logisim-evolution + pkgdesc = An educational tool for designing and simulating digital logic circuits + pkgver = 2.14.2 + pkgrel = 1 + url = https://github.com/reds-heig/logisim-evolution + arch = any + license = GPL3 + makedepends = java-environment-openjdk=8 + makedepends = apache-ant + depends = java-runtime=8 + depends = bash + depends = hicolor-icon-theme + source = logisim-evolution-2.14.2.tar.gz::https://github.com/reds-heig/logisim-evolution/archive/v2.14.2.tar.gz + source = logisim-evolution.desktop + source = logisim-evolution.sh + source = logisim-evolution.xml + sha256sums = 9c58ce45822c3c0e85a723de2c22c0d0329b82c1b367e06a9ae880f0b1bda202 + sha256sums = 086851b07012f669743080dc4f059cf7727b19200384070852b34e142533385b + sha256sums = 35b6b4da515f1c5619d35bbedc1469e5ec5b823bf486efdfbb5b705b65e10656 + sha256sums = f90c3709748af806a33c14e81c8bf91dc06c3a4f58fe00cfe14a8f1842e09dec + +pkgname = logisim-evolution + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..a7aaa58 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,46 @@ +# Maintainer: Simon Doppler +# Contributor: Agustin Borgna +# Contributor: Marcel Korpel +# Contributor: Renan Birck + +pkgname=logisim-evolution +pkgver=2.14.2 +pkgrel=1 +pkgdesc='An educational tool for designing and simulating digital logic circuits' +arch=('any') +url="https://github.com/reds-heig/logisim-evolution" +license=('GPL3') +depends=('java-runtime=8' 'bash' 'hicolor-icon-theme') +makedepends=('java-environment-openjdk=8' 'apache-ant') + +source=("${pkgname}-${pkgver}.tar.gz::https://github.com/reds-heig/logisim-evolution/archive/v${pkgver}.tar.gz" + 'logisim-evolution.desktop' + 'logisim-evolution.sh' + 'logisim-evolution.xml') +sha256sums=('9c58ce45822c3c0e85a723de2c22c0d0329b82c1b367e06a9ae880f0b1bda202' + '086851b07012f669743080dc4f059cf7727b19200384070852b34e142533385b' + '35b6b4da515f1c5619d35bbedc1469e5ec5b823bf486efdfbb5b705b65e10656' + 'f90c3709748af806a33c14e81c8bf91dc06c3a4f58fe00cfe14a8f1842e09dec') + +build() { + cd "$srcdir/${pkgname}-${pkgver}" + + ant jar +} + +package() { + cd "$srcdir" + + install -Dm644 ${pkgname}-${pkgver}/logisim-evolution.jar \ + "${pkgdir}/usr/share/java/logisim-evolution/logisim-evolution.jar" + install -Dm644 logisim-evolution.xml \ + "${pkgdir}/usr/share/mime/packages/logisim-evolution.xml" + install -Dm644 logisim-evolution.desktop \ + "${pkgdir}/usr/share/applications/logisim-evolution.desktop" + for SIZE in 16 20 24 48 64 128; do + install -Dm644 ${pkgname}-${pkgver}/resources/logisim/img/logisim-icon-${SIZE}.png \ + "${pkgdir}/usr/share/icons/hicolor/${SIZE}x${SIZE}/apps/logisim-evolution.png" + done + install -Dm755 logisim-evolution.sh "${pkgdir}/usr/bin/logisim-evolution" +} + diff --git a/logisim-evolution.desktop b/logisim-evolution.desktop new file mode 100644 index 0000000..3bda6b1 --- /dev/null +++ b/logisim-evolution.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Name=Logisim Evolution +Comment=An educational tool for designing and simulating digital logic circuits +Exec=/usr/bin/logisim-evolution +Icon=logisim-evolution +Terminal=false +Type=Application +Categories=Education +MimeType=application/x-logisim-evolution diff --git a/logisim-evolution.sh b/logisim-evolution.sh new file mode 100644 index 0000000..f1e2e73 --- /dev/null +++ b/logisim-evolution.sh @@ -0,0 +1,3 @@ +#!/bin/sh +exec "$JAVA_HOME/bin/java" -jar '/usr/share/java/logisim-evolution/logisim-evolution.jar' "$@" + diff --git a/logisim-evolution.xml b/logisim-evolution.xml new file mode 100644 index 0000000..92a3586 --- /dev/null +++ b/logisim-evolution.xml @@ -0,0 +1,9 @@ + + + + + Logisim Evolution Circuits + + + + -- cgit v1.2.3-70-g09d2 From 9a3569859475ffdd3678f0826938d14ba1f5e04c Mon Sep 17 00:00:00 2001 From: Simon Doppler Date: Wed, 21 Mar 2018 11:29:00 +0100 Subject: upgpkg: logisim-evolution 2.14.4-1 upstream release --- .SRCINFO | 8 +++----- PKGBUILD | 4 ++-- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index bf7ae77..486c6dd 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,8 +1,6 @@ -# Generated by mksrcinfo v8 -# Mon Oct 23 08:37:46 UTC 2017 pkgbase = logisim-evolution pkgdesc = An educational tool for designing and simulating digital logic circuits - pkgver = 2.14.2 + pkgver = 2.14.4 pkgrel = 1 url = https://github.com/reds-heig/logisim-evolution arch = any @@ -12,11 +10,11 @@ pkgbase = logisim-evolution depends = java-runtime=8 depends = bash depends = hicolor-icon-theme - source = logisim-evolution-2.14.2.tar.gz::https://github.com/reds-heig/logisim-evolution/archive/v2.14.2.tar.gz + source = logisim-evolution-2.14.4.tar.gz::https://github.com/reds-heig/logisim-evolution/archive/v2.14.4.tar.gz source = logisim-evolution.desktop source = logisim-evolution.sh source = logisim-evolution.xml - sha256sums = 9c58ce45822c3c0e85a723de2c22c0d0329b82c1b367e06a9ae880f0b1bda202 + sha256sums = f8dff3b2c8e1c628947a181ddef49f3f95ed17c15f7748373c25beb4815eee37 sha256sums = 086851b07012f669743080dc4f059cf7727b19200384070852b34e142533385b sha256sums = 35b6b4da515f1c5619d35bbedc1469e5ec5b823bf486efdfbb5b705b65e10656 sha256sums = f90c3709748af806a33c14e81c8bf91dc06c3a4f58fe00cfe14a8f1842e09dec diff --git a/PKGBUILD b/PKGBUILD index a7aaa58..5d6f848 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -4,7 +4,7 @@ # Contributor: Renan Birck pkgname=logisim-evolution -pkgver=2.14.2 +pkgver=2.14.4 pkgrel=1 pkgdesc='An educational tool for designing and simulating digital logic circuits' arch=('any') @@ -17,7 +17,7 @@ source=("${pkgname}-${pkgver}.tar.gz::https://github.com/reds-heig/logisim-evolu 'logisim-evolution.desktop' 'logisim-evolution.sh' 'logisim-evolution.xml') -sha256sums=('9c58ce45822c3c0e85a723de2c22c0d0329b82c1b367e06a9ae880f0b1bda202' +sha256sums=('f8dff3b2c8e1c628947a181ddef49f3f95ed17c15f7748373c25beb4815eee37' '086851b07012f669743080dc4f059cf7727b19200384070852b34e142533385b' '35b6b4da515f1c5619d35bbedc1469e5ec5b823bf486efdfbb5b705b65e10656' 'f90c3709748af806a33c14e81c8bf91dc06c3a4f58fe00cfe14a8f1842e09dec') -- cgit v1.2.3-70-g09d2 From cf3310d1792d81ab3185c97b4721f9d61abd2e5f Mon Sep 17 00:00:00 2001 From: Simon Doppler Date: Tue, 2 Oct 2018 13:01:44 +0200 Subject: upgpkg: logisim-evolution 2.14.6-1 upstream release --- .SRCINFO | 6 +++--- PKGBUILD | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 486c6dd..78d732e 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,6 +1,6 @@ pkgbase = logisim-evolution pkgdesc = An educational tool for designing and simulating digital logic circuits - pkgver = 2.14.4 + pkgver = 2.14.6 pkgrel = 1 url = https://github.com/reds-heig/logisim-evolution arch = any @@ -10,11 +10,11 @@ pkgbase = logisim-evolution depends = java-runtime=8 depends = bash depends = hicolor-icon-theme - source = logisim-evolution-2.14.4.tar.gz::https://github.com/reds-heig/logisim-evolution/archive/v2.14.4.tar.gz + source = logisim-evolution-2.14.6.tar.gz::https://github.com/reds-heig/logisim-evolution/archive/v2.14.6.tar.gz source = logisim-evolution.desktop source = logisim-evolution.sh source = logisim-evolution.xml - sha256sums = f8dff3b2c8e1c628947a181ddef49f3f95ed17c15f7748373c25beb4815eee37 + sha256sums = 4aa557aafc1c017941ddeb2c7c4871621ff727243b7169b88b01be45bbb5f280 sha256sums = 086851b07012f669743080dc4f059cf7727b19200384070852b34e142533385b sha256sums = 35b6b4da515f1c5619d35bbedc1469e5ec5b823bf486efdfbb5b705b65e10656 sha256sums = f90c3709748af806a33c14e81c8bf91dc06c3a4f58fe00cfe14a8f1842e09dec diff --git a/PKGBUILD b/PKGBUILD index 5d6f848..d8fb9ec 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -4,7 +4,7 @@ # Contributor: Renan Birck pkgname=logisim-evolution -pkgver=2.14.4 +pkgver=2.14.6 pkgrel=1 pkgdesc='An educational tool for designing and simulating digital logic circuits' arch=('any') @@ -17,7 +17,7 @@ source=("${pkgname}-${pkgver}.tar.gz::https://github.com/reds-heig/logisim-evolu 'logisim-evolution.desktop' 'logisim-evolution.sh' 'logisim-evolution.xml') -sha256sums=('f8dff3b2c8e1c628947a181ddef49f3f95ed17c15f7748373c25beb4815eee37' +sha256sums=('4aa557aafc1c017941ddeb2c7c4871621ff727243b7169b88b01be45bbb5f280' '086851b07012f669743080dc4f059cf7727b19200384070852b34e142533385b' '35b6b4da515f1c5619d35bbedc1469e5ec5b823bf486efdfbb5b705b65e10656' 'f90c3709748af806a33c14e81c8bf91dc06c3a4f58fe00cfe14a8f1842e09dec') -- cgit v1.2.3-70-g09d2 From 0f9fc180e427d917696585830c6a691ea689ad20 Mon Sep 17 00:00:00 2001 From: Simon Doppler Date: Tue, 8 Jan 2019 17:51:31 +0100 Subject: upgpkg: logisim-evolution 2.15.0-1 upstream release --- .SRCINFO | 6 +++--- PKGBUILD | 24 ++++++++++++------------ 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 @@ pkgbase = logisim-evolution pkgdesc = An educational tool for designing and simulating digital logic circuits - pkgver = 2.14.6 + pkgver = 2.15.0 pkgrel = 1 url = https://github.com/reds-heig/logisim-evolution arch = any @@ -10,11 +10,11 @@ pkgbase = logisim-evolution depends = java-runtime=8 depends = bash depends = hicolor-icon-theme - source = logisim-evolution-2.14.6.tar.gz::https://github.com/reds-heig/logisim-evolution/archive/v2.14.6.tar.gz + source = logisim-evolution-2.15.0.tar.gz::https://github.com/reds-heig/logisim-evolution/archive/v2.15.0.tar.gz source = logisim-evolution.desktop source = logisim-evolution.sh source = logisim-evolution.xml - sha256sums = 4aa557aafc1c017941ddeb2c7c4871621ff727243b7169b88b01be45bbb5f280 + sha256sums = 54c55415fce36801ed668c3bed64903444b0f6f3326091d63e84c253523fc8d8 sha256sums = 086851b07012f669743080dc4f059cf7727b19200384070852b34e142533385b sha256sums = 35b6b4da515f1c5619d35bbedc1469e5ec5b823bf486efdfbb5b705b65e10656 sha256sums = f90c3709748af806a33c14e81c8bf91dc06c3a4f58fe00cfe14a8f1842e09dec diff --git a/PKGBUILD b/PKGBUILD index d8fb9ec..078e4f6 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -4,7 +4,7 @@ # Contributor: Renan Birck pkgname=logisim-evolution -pkgver=2.14.6 +pkgver=2.15.0 pkgrel=1 pkgdesc='An educational tool for designing and simulating digital logic circuits' arch=('any') @@ -17,7 +17,7 @@ source=("${pkgname}-${pkgver}.tar.gz::https://github.com/reds-heig/logisim-evolu 'logisim-evolution.desktop' 'logisim-evolution.sh' 'logisim-evolution.xml') -sha256sums=('4aa557aafc1c017941ddeb2c7c4871621ff727243b7169b88b01be45bbb5f280' +sha256sums=('54c55415fce36801ed668c3bed64903444b0f6f3326091d63e84c253523fc8d8' '086851b07012f669743080dc4f059cf7727b19200384070852b34e142533385b' '35b6b4da515f1c5619d35bbedc1469e5ec5b823bf486efdfbb5b705b65e10656' 'f90c3709748af806a33c14e81c8bf91dc06c3a4f58fe00cfe14a8f1842e09dec') @@ -25,22 +25,22 @@ sha256sums=('4aa557aafc1c017941ddeb2c7c4871621ff727243b7169b88b01be45bbb5f280' build() { cd "$srcdir/${pkgname}-${pkgver}" - ant jar + ./gradlew --no-daemon shadowJar } package() { cd "$srcdir" - install -Dm644 ${pkgname}-${pkgver}/logisim-evolution.jar \ - "${pkgdir}/usr/share/java/logisim-evolution/logisim-evolution.jar" - install -Dm644 logisim-evolution.xml \ - "${pkgdir}/usr/share/mime/packages/logisim-evolution.xml" - install -Dm644 logisim-evolution.desktop \ - "${pkgdir}/usr/share/applications/logisim-evolution.desktop" + install -Dm644 "${pkgname}-${pkgver}/build/libs/${pkgname}-${pkgver}-all.jar" \ + "${pkgdir}/usr/share/java/${pkgname}/${pkgname}.jar" + install -Dm644 "${pkgname}.xml" \ + "${pkgdir}/usr/share/mime/packages/${pkgname}.xml" + install -Dm644 "${pkgname}.desktop" \ + "${pkgdir}/usr/share/applications/${pkgname}logisim-evolution.desktop" for SIZE in 16 20 24 48 64 128; do - install -Dm644 ${pkgname}-${pkgver}/resources/logisim/img/logisim-icon-${SIZE}.png \ - "${pkgdir}/usr/share/icons/hicolor/${SIZE}x${SIZE}/apps/logisim-evolution.png" + install -Dm644 "${pkgname}-${pkgver}/src/main/resources/resources/logisim/img/logisim-icon-64.png" \ + "${pkgdir}/usr/share/icons/hicolor/${SIZE}x${SIZE}/apps/${pkgname}logisim-evolution.png" done - install -Dm755 logisim-evolution.sh "${pkgdir}/usr/bin/logisim-evolution" + install -Dm755 "${pkgname}.sh" "${pkgdir}/usr/bin/${pkgname}" } -- cgit v1.2.3-70-g09d2 From 2d2fc45a730804a903c632dec493af6fbba3e54f Mon Sep 17 00:00:00 2001 From: Amy Wilson Date: Fri, 23 Aug 2019 23:31:26 +1000 Subject: Updated maintainers --- PKGBUILD | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/PKGBUILD b/PKGBUILD index 078e4f6..b73b291 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,4 +1,5 @@ -# Maintainer: Simon Doppler +# Maintainer: Amy Wilson +# Contributor: Simon Doppler # Contributor: Agustin Borgna # Contributor: Marcel Korpel # Contributor: Renan Birck -- cgit v1.2.3-70-g09d2 From da5a96a70cde7dd09218e151ce670653731bd2be Mon Sep 17 00:00:00 2001 From: Martin Thierer Date: Fri, 27 Dec 2019 10:30:41 +0100 Subject: Fix installation of icons and .desktop file 20x20 size icons don't exist in hicolor-icon-theme, so don't install them. But do install the SVG-Version. --- .SRCINFO | 2 +- PKGBUILD | 12 +++++++----- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index f684938..dd261b8 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = logisim-evolution pkgdesc = An educational tool for designing and simulating digital logic circuits pkgver = 2.15.0 - pkgrel = 1 + pkgrel = 2 url = https://github.com/reds-heig/logisim-evolution arch = any license = GPL3 diff --git a/PKGBUILD b/PKGBUILD index b73b291..7fed87d 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -6,7 +6,7 @@ pkgname=logisim-evolution pkgver=2.15.0 -pkgrel=1 +pkgrel=2 pkgdesc='An educational tool for designing and simulating digital logic circuits' arch=('any') url="https://github.com/reds-heig/logisim-evolution" @@ -37,11 +37,13 @@ package() { install -Dm644 "${pkgname}.xml" \ "${pkgdir}/usr/share/mime/packages/${pkgname}.xml" install -Dm644 "${pkgname}.desktop" \ - "${pkgdir}/usr/share/applications/${pkgname}logisim-evolution.desktop" - for SIZE in 16 20 24 48 64 128; do - install -Dm644 "${pkgname}-${pkgver}/src/main/resources/resources/logisim/img/logisim-icon-64.png" \ - "${pkgdir}/usr/share/icons/hicolor/${SIZE}x${SIZE}/apps/${pkgname}logisim-evolution.png" + "${pkgdir}/usr/share/applications/logisim-evolution.desktop" + for SIZE in 16 24 48 64 128; do + install -Dm644 "${pkgname}-${pkgver}/src/main/resources/resources/logisim/img/logisim-icon-${SIZE}.png" \ + "${pkgdir}/usr/share/icons/hicolor/${SIZE}x${SIZE}/apps/logisim-evolution.png" done + install -Dm644 "${pkgname}-${pkgver}/src/main/resources/resources/logisim/img/logisim-icon.svg" \ + "${pkgdir}/usr/share/icons/hicolor/scalable/apps/logisim-evolution.svg" install -Dm755 "${pkgname}.sh" "${pkgdir}/usr/bin/${pkgname}" } -- cgit v1.2.3-70-g09d2 From 240fafa020b650b3da754be1357db3586eeac512 Mon Sep 17 00:00:00 2001 From: Martin Thierer Date: Thu, 16 Jan 2020 21:45:02 +0100 Subject: Update maintainer --- PKGBUILD | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/PKGBUILD b/PKGBUILD index 7fed87d..03f875a 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,4 +1,5 @@ -# Maintainer: Amy Wilson +# Maintainer: Martin Thierer +# Contributor: Amy Wilson # Contributor: Simon Doppler # Contributor: Agustin Borgna # Contributor: Marcel Korpel -- cgit v1.2.3-70-g09d2 From c7a9d48a787ab6b5541edc4bca47c5e9d66547c5 Mon Sep 17 00:00:00 2001 From: Martin Thierer Date: Thu, 16 Jan 2020 21:47:01 +0100 Subject: Arch doesn't set JAVA_HOME so don't use it https://wiki.archlinux.org/index.php/Java_package_guidelines https://wiki.archlinux.org/index.php/Java#Installation --- .SRCINFO | 2 +- PKGBUILD | 2 +- logisim-evolution.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index dd261b8..62cc922 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -16,7 +16,7 @@ pkgbase = logisim-evolution source = logisim-evolution.xml sha256sums = 54c55415fce36801ed668c3bed64903444b0f6f3326091d63e84c253523fc8d8 sha256sums = 086851b07012f669743080dc4f059cf7727b19200384070852b34e142533385b - sha256sums = 35b6b4da515f1c5619d35bbedc1469e5ec5b823bf486efdfbb5b705b65e10656 + sha256sums = d5975cc0025905ab8a8a451ce4362ba876bed88008d3a5b2c0a7f664a85da1ba sha256sums = f90c3709748af806a33c14e81c8bf91dc06c3a4f58fe00cfe14a8f1842e09dec pkgname = logisim-evolution diff --git a/PKGBUILD b/PKGBUILD index 03f875a..dbf514a 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -21,7 +21,7 @@ source=("${pkgname}-${pkgver}.tar.gz::https://github.com/reds-heig/logisim-evolu 'logisim-evolution.xml') sha256sums=('54c55415fce36801ed668c3bed64903444b0f6f3326091d63e84c253523fc8d8' '086851b07012f669743080dc4f059cf7727b19200384070852b34e142533385b' - '35b6b4da515f1c5619d35bbedc1469e5ec5b823bf486efdfbb5b705b65e10656' + 'd5975cc0025905ab8a8a451ce4362ba876bed88008d3a5b2c0a7f664a85da1ba' 'f90c3709748af806a33c14e81c8bf91dc06c3a4f58fe00cfe14a8f1842e09dec') build() { diff --git a/logisim-evolution.sh b/logisim-evolution.sh index f1e2e73..662df43 100644 --- a/logisim-evolution.sh +++ b/logisim-evolution.sh @@ -1,3 +1,3 @@ #!/bin/sh -exec "$JAVA_HOME/bin/java" -jar '/usr/share/java/logisim-evolution/logisim-evolution.jar' "$@" +exec /usr/bin/java -jar /usr/share/java/logisim-evolution/logisim-evolution.jar "$@" -- cgit v1.2.3-70-g09d2 From 9ed3bea0d8dc2455e6198cdc9316f80f513ac6b8 Mon Sep 17 00:00:00 2001 From: Martin Thierer Date: Thu, 16 Jan 2020 22:25:39 +0100 Subject: Remove unnecessary dependency on ant --- .SRCINFO | 1 - PKGBUILD | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 62cc922..afc3a95 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -6,7 +6,6 @@ pkgbase = logisim-evolution arch = any license = GPL3 makedepends = java-environment-openjdk=8 - makedepends = apache-ant depends = java-runtime=8 depends = bash depends = hicolor-icon-theme diff --git a/PKGBUILD b/PKGBUILD index dbf514a..0a3ebe8 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -13,7 +13,7 @@ arch=('any') url="https://github.com/reds-heig/logisim-evolution" license=('GPL3') depends=('java-runtime=8' 'bash' 'hicolor-icon-theme') -makedepends=('java-environment-openjdk=8' 'apache-ant') +makedepends=('java-environment-openjdk=8') source=("${pkgname}-${pkgver}.tar.gz::https://github.com/reds-heig/logisim-evolution/archive/v${pkgver}.tar.gz" 'logisim-evolution.desktop' -- cgit v1.2.3-70-g09d2 From ff0d34302d47101685ac5d373c2708753265881a Mon Sep 17 00:00:00 2001 From: maniacata Date: Sat, 18 Apr 2020 19:13:34 +0800 Subject: update to 3.3.4 --- .SRCINFO | 11 +++++------ .gitignore | 3 +++ PKGBUILD | 51 +++++++++++++++++++++++---------------------------- 3 files changed, 31 insertions(+), 34 deletions(-) create mode 100644 .gitignore diff --git a/.SRCINFO b/.SRCINFO index afc3a95..dfd9ad9 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,19 +1,18 @@ pkgbase = logisim-evolution pkgdesc = An educational tool for designing and simulating digital logic circuits - pkgver = 2.15.0 - pkgrel = 2 + pkgver = 3.3.4 + pkgrel = 1 url = https://github.com/reds-heig/logisim-evolution arch = any license = GPL3 - makedepends = java-environment-openjdk=8 - depends = java-runtime=8 + depends = java-runtime>=10 depends = bash depends = hicolor-icon-theme - source = logisim-evolution-2.15.0.tar.gz::https://github.com/reds-heig/logisim-evolution/archive/v2.15.0.tar.gz + 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 source = logisim-evolution.desktop source = logisim-evolution.sh source = logisim-evolution.xml - sha256sums = 54c55415fce36801ed668c3bed64903444b0f6f3326091d63e84c253523fc8d8 + sha256sums = b04e666ed0b74126dfc8c2ce6ae0d425ad5bb39c2d77ef214158b6dfc67f8b0d sha256sums = 086851b07012f669743080dc4f059cf7727b19200384070852b34e142533385b sha256sums = d5975cc0025905ab8a8a451ce4362ba876bed88008d3a5b2c0a7f664a85da1ba sha256sums = f90c3709748af806a33c14e81c8bf91dc06c3a4f58fe00cfe14a8f1842e09dec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b5ec025 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +resources +*.tar.* +*.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 @@ -# Maintainer: Martin Thierer +# Maintainer: maniacata +# Contributor: Martin Thierer # Contributor: Amy Wilson # Contributor: Simon Doppler # Contributor: Agustin Borgna @@ -6,45 +7,39 @@ # Contributor: Renan Birck pkgname=logisim-evolution -pkgver=2.15.0 -pkgrel=2 +pkgver=3.3.4 +pkgrel=1 pkgdesc='An educational tool for designing and simulating digital logic circuits' arch=('any') url="https://github.com/reds-heig/logisim-evolution" license=('GPL3') -depends=('java-runtime=8' 'bash' 'hicolor-icon-theme') -makedepends=('java-environment-openjdk=8') - -source=("${pkgname}-${pkgver}.tar.gz::https://github.com/reds-heig/logisim-evolution/archive/v${pkgver}.tar.gz" - 'logisim-evolution.desktop' - 'logisim-evolution.sh' - 'logisim-evolution.xml') -sha256sums=('54c55415fce36801ed668c3bed64903444b0f6f3326091d63e84c253523fc8d8' +depends=('java-runtime>=10' 'bash' 'hicolor-icon-theme') + +source=("${pkgname}-${pkgver}.jar::https://github.com/reds-heig/logisim-evolution/releases/download/v${pkgver}/logisim-evolution-${pkgver}-all.jar" + "${pkgname}.desktop" + "${pkgname}.sh" + "${pkgname}.xml") +sha256sums=('b04e666ed0b74126dfc8c2ce6ae0d425ad5bb39c2d77ef214158b6dfc67f8b0d' '086851b07012f669743080dc4f059cf7727b19200384070852b34e142533385b' 'd5975cc0025905ab8a8a451ce4362ba876bed88008d3a5b2c0a7f664a85da1ba' 'f90c3709748af806a33c14e81c8bf91dc06c3a4f58fe00cfe14a8f1842e09dec') -build() { - cd "$srcdir/${pkgname}-${pkgver}" - - ./gradlew --no-daemon shadowJar -} - package() { cd "$srcdir" - install -Dm644 "${pkgname}-${pkgver}/build/libs/${pkgname}-${pkgver}-all.jar" \ - "${pkgdir}/usr/share/java/${pkgname}/${pkgname}.jar" - install -Dm644 "${pkgname}.xml" \ - "${pkgdir}/usr/share/mime/packages/${pkgname}.xml" - install -Dm644 "${pkgname}.desktop" \ - "${pkgdir}/usr/share/applications/logisim-evolution.desktop" - for SIZE in 16 24 48 64 128; do - install -Dm644 "${pkgname}-${pkgver}/src/main/resources/resources/logisim/img/logisim-icon-${SIZE}.png" \ - "${pkgdir}/usr/share/icons/hicolor/${SIZE}x${SIZE}/apps/logisim-evolution.png" + jar xf ${pkgname}-${pkgver}.jar "resources/logisim/img/" + + install -Dm644 ${pkgname}-${pkgver}.jar "${pkgdir}/usr/share/java/${pkgname}/${pkgname}.jar" + install -Dm644 ${pkgname}.xml "${pkgdir}/usr/share/mime/packages/${pkgname}.xml" + install -Dm644 ${pkgname}.desktop "${pkgdir}/usr/share/applications/${pkgname}.desktop" + + for SIZE in 16 20 24 48 64 128; do + install -Dm644 "resources/logisim/img/logisim-icon-${SIZE}.png" \ + "${pkgdir}/usr/share/icons/hicolor/${SIZE}x${SIZE}/apps/${pkgname}.png" done - install -Dm644 "${pkgname}-${pkgver}/src/main/resources/resources/logisim/img/logisim-icon.svg" \ - "${pkgdir}/usr/share/icons/hicolor/scalable/apps/logisim-evolution.svg" + install -Dm644 "resources/logisim/img/logisim-icon.svg" \ + "${pkgdir}/usr/share/icons/hicolor/scalable/apps/${pkgname}.svg" + install -Dm755 "${pkgname}.sh" "${pkgdir}/usr/bin/${pkgname}" } -- cgit v1.2.3-70-g09d2 From a4fde9067dcec3e0228c937ad344d592b9c8979f Mon Sep 17 00:00:00 2001 From: maniacata Date: Sun, 19 Apr 2020 13:47:14 +0800 Subject: remove usage of 'jar' command --- .SRCINFO | 2 +- PKGBUILD | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index dfd9ad9..34ead90 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = logisim-evolution pkgdesc = An educational tool for designing and simulating digital logic circuits pkgver = 3.3.4 - pkgrel = 1 + pkgrel = 2 url = https://github.com/reds-heig/logisim-evolution arch = any license = GPL3 diff --git a/PKGBUILD b/PKGBUILD index 39d12f4..91cb24e 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -8,7 +8,7 @@ pkgname=logisim-evolution pkgver=3.3.4 -pkgrel=1 +pkgrel=2 pkgdesc='An educational tool for designing and simulating digital logic circuits' arch=('any') url="https://github.com/reds-heig/logisim-evolution" @@ -27,8 +27,6 @@ sha256sums=('b04e666ed0b74126dfc8c2ce6ae0d425ad5bb39c2d77ef214158b6dfc67f8b0d' package() { cd "$srcdir" - jar xf ${pkgname}-${pkgver}.jar "resources/logisim/img/" - install -Dm644 ${pkgname}-${pkgver}.jar "${pkgdir}/usr/share/java/${pkgname}/${pkgname}.jar" install -Dm644 ${pkgname}.xml "${pkgdir}/usr/share/mime/packages/${pkgname}.xml" install -Dm644 ${pkgname}.desktop "${pkgdir}/usr/share/applications/${pkgname}.desktop" -- cgit v1.2.3-70-g09d2 From d99c71022bbff1b3b9ac78ae4d3b62f5397d3246 Mon Sep 17 00:00:00 2001 From: Github Action Bot Date: Fri, 10 Jul 2020 00:14:27 +0000 Subject: Update to 3.3.6 --- .SRCINFO | 8 ++++---- PKGBUILD | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 34ead90..d79f48b 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,18 +1,18 @@ pkgbase = logisim-evolution pkgdesc = An educational tool for designing and simulating digital logic circuits - pkgver = 3.3.4 - pkgrel = 2 + pkgver = 3.3.6 + pkgrel = 1 url = https://github.com/reds-heig/logisim-evolution arch = any license = GPL3 depends = java-runtime>=10 depends = bash depends = hicolor-icon-theme - 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 + source = logisim-evolution-3.3.6.jar::https://github.com/reds-heig/logisim-evolution/releases/download/v3.3.6/logisim-evolution-3.3.6-all.jar source = logisim-evolution.desktop source = logisim-evolution.sh source = logisim-evolution.xml - sha256sums = b04e666ed0b74126dfc8c2ce6ae0d425ad5bb39c2d77ef214158b6dfc67f8b0d + sha256sums = 97f6c44c30550f42a71850fac8e2a604f82134ae580a4d0bfdd664938c8cf52b sha256sums = 086851b07012f669743080dc4f059cf7727b19200384070852b34e142533385b sha256sums = d5975cc0025905ab8a8a451ce4362ba876bed88008d3a5b2c0a7f664a85da1ba sha256sums = f90c3709748af806a33c14e81c8bf91dc06c3a4f58fe00cfe14a8f1842e09dec diff --git a/PKGBUILD b/PKGBUILD index 91cb24e..d8454c6 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -7,8 +7,8 @@ # Contributor: Renan Birck pkgname=logisim-evolution -pkgver=3.3.4 -pkgrel=2 +pkgver=3.3.6 +pkgrel=1 pkgdesc='An educational tool for designing and simulating digital logic circuits' arch=('any') url="https://github.com/reds-heig/logisim-evolution" @@ -19,7 +19,7 @@ source=("${pkgname}-${pkgver}.jar::https://github.com/reds-heig/logisim-evolutio "${pkgname}.desktop" "${pkgname}.sh" "${pkgname}.xml") -sha256sums=('b04e666ed0b74126dfc8c2ce6ae0d425ad5bb39c2d77ef214158b6dfc67f8b0d' +sha256sums=('97f6c44c30550f42a71850fac8e2a604f82134ae580a4d0bfdd664938c8cf52b' '086851b07012f669743080dc4f059cf7727b19200384070852b34e142533385b' 'd5975cc0025905ab8a8a451ce4362ba876bed88008d3a5b2c0a7f664a85da1ba' 'f90c3709748af806a33c14e81c8bf91dc06c3a4f58fe00cfe14a8f1842e09dec') -- cgit v1.2.3-70-g09d2 From f0761677bb83eaeeac26b4e06ea995314f46de19 Mon Sep 17 00:00:00 2001 From: maniacata Date: Mon, 18 Jan 2021 02:08:06 +0800 Subject: refactor: switch to source code version --- .SRCINFO | 10 +++++----- PKGBUILD | 50 ++++++++++++++++++++++++++++++----------------- logisim-evolution.install | 11 +++++++++++ 3 files changed, 48 insertions(+), 23 deletions(-) create mode 100644 logisim-evolution.install diff --git a/.SRCINFO b/.SRCINFO index d79f48b..ca2f301 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,18 +1,18 @@ pkgbase = logisim-evolution pkgdesc = An educational tool for designing and simulating digital logic circuits - pkgver = 3.3.6 + pkgver = 3.4.1 pkgrel = 1 url = https://github.com/reds-heig/logisim-evolution arch = any license = GPL3 - depends = java-runtime>=10 - depends = bash + makedepends = java-environment>=9 + depends = java-runtime>=9 depends = hicolor-icon-theme - source = logisim-evolution-3.3.6.jar::https://github.com/reds-heig/logisim-evolution/releases/download/v3.3.6/logisim-evolution-3.3.6-all.jar + source = logisim-evolution-3.4.1.tar.gz::https://github.com/reds-heig/logisim-evolution/archive/v3.4.1.tar.gz source = logisim-evolution.desktop source = logisim-evolution.sh source = logisim-evolution.xml - sha256sums = 97f6c44c30550f42a71850fac8e2a604f82134ae580a4d0bfdd664938c8cf52b + sha256sums = bce8ee163e80b56a49a4ec3b5fa10c2b21779146f4c2c44d4bc7560a72566236 sha256sums = 086851b07012f669743080dc4f059cf7727b19200384070852b34e142533385b sha256sums = d5975cc0025905ab8a8a451ce4362ba876bed88008d3a5b2c0a7f664a85da1ba sha256sums = f90c3709748af806a33c14e81c8bf91dc06c3a4f58fe00cfe14a8f1842e09dec diff --git a/PKGBUILD b/PKGBUILD index d8454c6..a2c30ce 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,4 +1,5 @@ # Maintainer: maniacata +# Contributor: Marcin Wieczorek # Contributor: Martin Thierer # Contributor: Amy Wilson # Contributor: Simon Doppler @@ -7,37 +8,50 @@ # Contributor: Renan Birck pkgname=logisim-evolution -pkgver=3.3.6 +pkgver=3.4.1 pkgrel=1 -pkgdesc='An educational tool for designing and simulating digital logic circuits' +pkgdesc='An educational tool for designing and simulating digital logic circuits (build from source)' arch=('any') url="https://github.com/reds-heig/logisim-evolution" license=('GPL3') -depends=('java-runtime>=10' 'bash' 'hicolor-icon-theme') +depends=('java-runtime>=9' 'hicolor-icon-theme') +makedepends=('java-environment>=9') -source=("${pkgname}-${pkgver}.jar::https://github.com/reds-heig/logisim-evolution/releases/download/v${pkgver}/logisim-evolution-${pkgver}-all.jar" - "${pkgname}.desktop" - "${pkgname}.sh" - "${pkgname}.xml") -sha256sums=('97f6c44c30550f42a71850fac8e2a604f82134ae580a4d0bfdd664938c8cf52b' +source=("${pkgname}-${pkgver}.tar.gz::https://github.com/reds-heig/logisim-evolution/archive/v${pkgver}.tar.gz") +sha256sums=('bce8ee163e80b56a49a4ec3b5fa10c2b21779146f4c2c44d4bc7560a72566236' '086851b07012f669743080dc4f059cf7727b19200384070852b34e142533385b' 'd5975cc0025905ab8a8a451ce4362ba876bed88008d3a5b2c0a7f664a85da1ba' 'f90c3709748af806a33c14e81c8bf91dc06c3a4f58fe00cfe14a8f1842e09dec') -package() { - cd "$srcdir" +install=$_pkgname.install + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./gradlew shadowJar +} - install -Dm644 ${pkgname}-${pkgver}.jar "${pkgdir}/usr/share/java/${pkgname}/${pkgname}.jar" - install -Dm644 ${pkgname}.xml "${pkgdir}/usr/share/mime/packages/${pkgname}.xml" - install -Dm644 ${pkgname}.desktop "${pkgdir}/usr/share/applications/${pkgname}.desktop" +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + install -Dm644 "build/libs/logisim-evolution-${pkgver}-all.jar" \ + "${pkgdir}/usr/share/java/${pkgname}/${pkgname}.jar" + install -Dm644 "support/Flatpak/com.github.reds.LogisimEvolution.xml" \ + "${pkgdir}/usr/share/mime/packages/${pkgname}.xml" + install -Dm644 "support/Flatpak/com.github.reds.LogisimEvolution.desktop" \ + "${pkgdir}/usr/share/applications/${pkgname}.desktop" for SIZE in 16 20 24 48 64 128; do - install -Dm644 "resources/logisim/img/logisim-icon-${SIZE}.png" \ - "${pkgdir}/usr/share/icons/hicolor/${SIZE}x${SIZE}/apps/${pkgname}.png" + install -Dm644 \ + "src/main/resources/resources/logisim/img/logisim-icon-${SIZE}.png" \ + "${pkgdir}/usr/share/icons/hicolor/${SIZE}x${SIZE}/apps/${pkgname}.png" done - install -Dm644 "resources/logisim/img/logisim-icon.svg" \ - "${pkgdir}/usr/share/icons/hicolor/scalable/apps/${pkgname}.svg" - install -Dm755 "${pkgname}.sh" "${pkgdir}/usr/bin/${pkgname}" + install -Dm644 "build/resources/main/resources/logisim/img/logisim-icon.svg" \ + "${pkgdir}/usr/share/icons/hicolor/scalable/apps/${pkgname}.svg" + + install -Dm755 "${srcdir}/${pkgname}.sh" "${pkgdir}/usr/bin/${pkgname}" + + sed -e 's|Exec=.*|Exec=/usr/bin/logisim-evolution|' \ + -e 's|com.github.reds.LogisimEvolution|logisim-evolution|' \ + -i "${pkgdir}/usr/share/applications/${pkgname}.desktop" } diff --git a/logisim-evolution.install b/logisim-evolution.install new file mode 100644 index 0000000..9d3ce28 --- /dev/null +++ b/logisim-evolution.install @@ -0,0 +1,11 @@ +pre_install() { + pre_upgrade +} + +pre_upgrade() { + cat << EOF + Please notice that this AUR repo is a build-from-source package. + + However, binary version (the previous one) can be found as 'logisim-evolution-bin'. +EOF +} \ No newline at end of file -- cgit v1.2.3-70-g09d2 From 73e361218f9883703b79c968566bad2d1eea4bb4 Mon Sep 17 00:00:00 2001 From: maniacata Date: Mon, 18 Jan 2021 11:49:36 +0800 Subject: fix: PKGBUILD --- .SRCINFO | 21 ++++++++------------- PKGBUILD | 9 +++------ 2 files changed, 11 insertions(+), 19 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index ca2f301..dd5d94a 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,21 +1,16 @@ pkgbase = logisim-evolution - pkgdesc = An educational tool for designing and simulating digital logic circuits - pkgver = 3.4.1 - pkgrel = 1 + pkgdesc = An educational tool for designing and simulating digital logic circuits (build from source) + pkgver = 3.4.1 + pkgrel = 2 url = https://github.com/reds-heig/logisim-evolution + install = logisim-evolution.install arch = any license = GPL3 - makedepends = java-environment>=9 - depends = java-runtime>=9 + makedepends = java-environment>=9 + depends = java-runtime>=9 depends = hicolor-icon-theme - source = logisim-evolution-3.4.1.tar.gz::https://github.com/reds-heig/logisim-evolution/archive/v3.4.1.tar.gz - source = logisim-evolution.desktop - source = logisim-evolution.sh - source = logisim-evolution.xml - sha256sums = bce8ee163e80b56a49a4ec3b5fa10c2b21779146f4c2c44d4bc7560a72566236 - sha256sums = 086851b07012f669743080dc4f059cf7727b19200384070852b34e142533385b - sha256sums = d5975cc0025905ab8a8a451ce4362ba876bed88008d3a5b2c0a7f664a85da1ba - sha256sums = f90c3709748af806a33c14e81c8bf91dc06c3a4f58fe00cfe14a8f1842e09dec + source = logisim-evolution-3.4.1.tar.gz::https://github.com/reds-heig/logisim-evolution/archive/v3.4.1.tar.gz + sha256sums = bce8ee163e80b56a49a4ec3b5fa10c2b21779146f4c2c44d4bc7560a72566236 pkgname = logisim-evolution diff --git a/PKGBUILD b/PKGBUILD index a2c30ce..c0d8a00 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -9,7 +9,7 @@ pkgname=logisim-evolution pkgver=3.4.1 -pkgrel=1 +pkgrel=2 pkgdesc='An educational tool for designing and simulating digital logic circuits (build from source)' arch=('any') url="https://github.com/reds-heig/logisim-evolution" @@ -18,12 +18,9 @@ depends=('java-runtime>=9' 'hicolor-icon-theme') makedepends=('java-environment>=9') source=("${pkgname}-${pkgver}.tar.gz::https://github.com/reds-heig/logisim-evolution/archive/v${pkgver}.tar.gz") -sha256sums=('bce8ee163e80b56a49a4ec3b5fa10c2b21779146f4c2c44d4bc7560a72566236' - '086851b07012f669743080dc4f059cf7727b19200384070852b34e142533385b' - 'd5975cc0025905ab8a8a451ce4362ba876bed88008d3a5b2c0a7f664a85da1ba' - 'f90c3709748af806a33c14e81c8bf91dc06c3a4f58fe00cfe14a8f1842e09dec') +sha256sums=('bce8ee163e80b56a49a4ec3b5fa10c2b21779146f4c2c44d4bc7560a72566236') -install=$_pkgname.install +install=$pkgname.install build() { cd "${srcdir}/${pkgname}-${pkgver}" -- cgit v1.2.3-70-g09d2 From a034429c68739082d9ae5b9b1a057a191f6e14ec Mon Sep 17 00:00:00 2001 From: maniacata Date: Mon, 18 Jan 2021 12:08:24 +0800 Subject: fix: files & conflicts --- .SRCINFO | 7 ++++++- PKGBUILD | 10 +++++++--- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index dd5d94a..0950997 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = logisim-evolution pkgdesc = An educational tool for designing and simulating digital logic circuits (build from source) pkgver = 3.4.1 - pkgrel = 2 + pkgrel = 3 url = https://github.com/reds-heig/logisim-evolution install = logisim-evolution.install arch = any @@ -9,8 +9,13 @@ pkgbase = logisim-evolution makedepends = java-environment>=9 depends = java-runtime>=9 depends = hicolor-icon-theme + provides = logisim-evolution + conflicts = logisim-evolution-git + conflicts = logisim-evolution-bin source = logisim-evolution-3.4.1.tar.gz::https://github.com/reds-heig/logisim-evolution/archive/v3.4.1.tar.gz + source = logisim-evolution.sh sha256sums = bce8ee163e80b56a49a4ec3b5fa10c2b21779146f4c2c44d4bc7560a72566236 + sha256sums = d5975cc0025905ab8a8a451ce4362ba876bed88008d3a5b2c0a7f664a85da1ba pkgname = logisim-evolution diff --git a/PKGBUILD b/PKGBUILD index c0d8a00..6927bdb 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -9,16 +9,20 @@ pkgname=logisim-evolution pkgver=3.4.1 -pkgrel=2 +pkgrel=3 pkgdesc='An educational tool for designing and simulating digital logic circuits (build from source)' +provides=('logisim-evolution') +conflicts=('logisim-evolution-git' 'logisim-evolution-bin') arch=('any') url="https://github.com/reds-heig/logisim-evolution" license=('GPL3') depends=('java-runtime>=9' 'hicolor-icon-theme') makedepends=('java-environment>=9') -source=("${pkgname}-${pkgver}.tar.gz::https://github.com/reds-heig/logisim-evolution/archive/v${pkgver}.tar.gz") -sha256sums=('bce8ee163e80b56a49a4ec3b5fa10c2b21779146f4c2c44d4bc7560a72566236') +source=("${pkgname}-${pkgver}.tar.gz::https://github.com/reds-heig/logisim-evolution/archive/v${pkgver}.tar.gz" + "${pkgname}.sh") +sha256sums=('bce8ee163e80b56a49a4ec3b5fa10c2b21779146f4c2c44d4bc7560a72566236' + 'd5975cc0025905ab8a8a451ce4362ba876bed88008d3a5b2c0a7f664a85da1ba') install=$pkgname.install -- cgit v1.2.3-70-g09d2 From 1ac9aece504465479d01cdb636ca0f8f1dfa0d88 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Fri, 8 Oct 2021 12:56:28 +0300 Subject: Update to 3.6.1 Upstream removed SVG icons and asks them to be compiled, I think Will look into it --- .SRCINFO | 9 ++++----- PKGBUILD | 15 ++++++--------- 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 @@ pkgbase = logisim-evolution pkgdesc = An educational tool for designing and simulating digital logic circuits (build from source) - pkgver = 3.4.1 - pkgrel = 3 + pkgver = 3.6.1 + pkgrel = 1 url = https://github.com/reds-heig/logisim-evolution install = logisim-evolution.install arch = any @@ -12,10 +12,9 @@ pkgbase = logisim-evolution provides = logisim-evolution conflicts = logisim-evolution-git conflicts = logisim-evolution-bin - source = logisim-evolution-3.4.1.tar.gz::https://github.com/reds-heig/logisim-evolution/archive/v3.4.1.tar.gz + source = logisim-evolution-3.6.1.tar.gz::https://github.com/reds-heig/logisim-evolution/archive/v3.6.1.tar.gz source = logisim-evolution.sh - sha256sums = bce8ee163e80b56a49a4ec3b5fa10c2b21779146f4c2c44d4bc7560a72566236 + sha256sums = 181694b68578bf0ecc9e6498e9246e49e60e926b4b047094419baf2f4bb721fb sha256sums = d5975cc0025905ab8a8a451ce4362ba876bed88008d3a5b2c0a7f664a85da1ba pkgname = logisim-evolution - diff --git a/PKGBUILD b/PKGBUILD index 6927bdb..6eea196 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,4 +1,5 @@ -# Maintainer: maniacata +# Maintainer: Yigit Sever +# Contributor: maniacata # Contributor: Marcin Wieczorek # Contributor: Martin Thierer # Contributor: Amy Wilson @@ -8,8 +9,8 @@ # Contributor: Renan Birck pkgname=logisim-evolution -pkgver=3.4.1 -pkgrel=3 +pkgver=3.6.1 +pkgrel=1 pkgdesc='An educational tool for designing and simulating digital logic circuits (build from source)' provides=('logisim-evolution') conflicts=('logisim-evolution-git' 'logisim-evolution-bin') @@ -21,7 +22,7 @@ makedepends=('java-environment>=9') source=("${pkgname}-${pkgver}.tar.gz::https://github.com/reds-heig/logisim-evolution/archive/v${pkgver}.tar.gz" "${pkgname}.sh") -sha256sums=('bce8ee163e80b56a49a4ec3b5fa10c2b21779146f4c2c44d4bc7560a72566236' +sha256sums=('181694b68578bf0ecc9e6498e9246e49e60e926b4b047094419baf2f4bb721fb' 'd5975cc0025905ab8a8a451ce4362ba876bed88008d3a5b2c0a7f664a85da1ba') install=$pkgname.install @@ -40,19 +41,15 @@ package() { install -Dm644 "support/Flatpak/com.github.reds.LogisimEvolution.desktop" \ "${pkgdir}/usr/share/applications/${pkgname}.desktop" - for SIZE in 16 20 24 48 64 128; do + for SIZE in 16 32 48 128 256; do install -Dm644 \ "src/main/resources/resources/logisim/img/logisim-icon-${SIZE}.png" \ "${pkgdir}/usr/share/icons/hicolor/${SIZE}x${SIZE}/apps/${pkgname}.png" done - install -Dm644 "build/resources/main/resources/logisim/img/logisim-icon.svg" \ - "${pkgdir}/usr/share/icons/hicolor/scalable/apps/${pkgname}.svg" - install -Dm755 "${srcdir}/${pkgname}.sh" "${pkgdir}/usr/bin/${pkgname}" sed -e 's|Exec=.*|Exec=/usr/bin/logisim-evolution|' \ -e 's|com.github.reds.LogisimEvolution|logisim-evolution|' \ -i "${pkgdir}/usr/share/applications/${pkgname}.desktop" } - -- cgit v1.2.3-70-g09d2 From e1518c638331d13e26bd37a557701743a78ea29b Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Fri, 8 Oct 2021 22:00:34 +0300 Subject: Bump required java runtime version --- .SRCINFO | 6 +++--- PKGBUILD | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 0018919..9ced5f3 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,13 +1,13 @@ pkgbase = logisim-evolution pkgdesc = An educational tool for designing and simulating digital logic circuits (build from source) pkgver = 3.6.1 - pkgrel = 1 + pkgrel = 2 url = https://github.com/reds-heig/logisim-evolution install = logisim-evolution.install arch = any license = GPL3 - makedepends = java-environment>=9 - depends = java-runtime>=9 + makedepends = java-environment>=14 + depends = java-runtime>=14 depends = hicolor-icon-theme provides = logisim-evolution conflicts = logisim-evolution-git diff --git a/PKGBUILD b/PKGBUILD index 6eea196..2141d0b 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -10,15 +10,15 @@ pkgname=logisim-evolution pkgver=3.6.1 -pkgrel=1 +pkgrel=2 pkgdesc='An educational tool for designing and simulating digital logic circuits (build from source)' provides=('logisim-evolution') conflicts=('logisim-evolution-git' 'logisim-evolution-bin') arch=('any') url="https://github.com/reds-heig/logisim-evolution" license=('GPL3') -depends=('java-runtime>=9' 'hicolor-icon-theme') -makedepends=('java-environment>=9') +depends=('java-runtime>=14' 'hicolor-icon-theme') +makedepends=('java-environment>=14') source=("${pkgname}-${pkgver}.tar.gz::https://github.com/reds-heig/logisim-evolution/archive/v${pkgver}.tar.gz" "${pkgname}.sh") -- cgit v1.2.3-70-g09d2 From 9b6c63a3044352960ee91b412ac19e1ef1181914 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Sat, 9 Oct 2021 15:20:23 +0300 Subject: Add required java-runtime to install script --- .SRCINFO | 2 +- PKGBUILD | 2 +- logisim-evolution.install | 14 ++++++++++++-- 3 files changed, 14 insertions(+), 4 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 9ced5f3..ea8b20d 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = logisim-evolution pkgdesc = An educational tool for designing and simulating digital logic circuits (build from source) pkgver = 3.6.1 - pkgrel = 2 + pkgrel = 3 url = https://github.com/reds-heig/logisim-evolution install = logisim-evolution.install arch = any diff --git a/PKGBUILD b/PKGBUILD index 2141d0b..66b2b86 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -10,7 +10,7 @@ pkgname=logisim-evolution pkgver=3.6.1 -pkgrel=2 +pkgrel=3 pkgdesc='An educational tool for designing and simulating digital logic circuits (build from source)' provides=('logisim-evolution') conflicts=('logisim-evolution-git' 'logisim-evolution-bin') diff --git a/logisim-evolution.install b/logisim-evolution.install index 9d3ce28..e9feb9c 100644 --- a/logisim-evolution.install +++ b/logisim-evolution.install @@ -4,8 +4,18 @@ pre_install() { pre_upgrade() { cat << EOF + + This package requires java-runtime>= 14, if you have multiple jdks installed + please ensure the correct one is set; + + # archlinux-java set java-16-openjdk + + ----- + Please notice that this AUR repo is a build-from-source package. - However, binary version (the previous one) can be found as 'logisim-evolution-bin'. + However, binary version (the previous one) can be found as 'logisim-evolution-bin'. + + EOF -} \ No newline at end of file +} -- cgit v1.2.3-70-g09d2 From 580f76e509d71336955dc31b6fcf5aec3937acd1 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Tue, 12 Oct 2021 11:08:18 +0300 Subject: Update to v3.7.0 --- .SRCINFO | 12 ++++++------ PKGBUILD | 10 ++++++---- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index ea8b20d..aed7967 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,20 +1,20 @@ pkgbase = logisim-evolution pkgdesc = An educational tool for designing and simulating digital logic circuits (build from source) - pkgver = 3.6.1 - pkgrel = 3 + pkgver = 3.7.0 + pkgrel = 1 url = https://github.com/reds-heig/logisim-evolution install = logisim-evolution.install arch = any license = GPL3 - makedepends = java-environment>=14 - depends = java-runtime>=14 + makedepends = java-environment>=16 + depends = java-runtime>=16 depends = hicolor-icon-theme provides = logisim-evolution conflicts = logisim-evolution-git conflicts = logisim-evolution-bin - source = logisim-evolution-3.6.1.tar.gz::https://github.com/reds-heig/logisim-evolution/archive/v3.6.1.tar.gz + source = logisim-evolution-3.7.0.tar.gz::https://github.com/reds-heig/logisim-evolution/archive/v3.7.0.tar.gz source = logisim-evolution.sh - sha256sums = 181694b68578bf0ecc9e6498e9246e49e60e926b4b047094419baf2f4bb721fb + sha256sums = 7bf16724e11bc4e441c1a4a2c207a629a6933d7941898908847a668bd8b9c043 sha256sums = d5975cc0025905ab8a8a451ce4362ba876bed88008d3a5b2c0a7f664a85da1ba pkgname = logisim-evolution diff --git a/PKGBUILD b/PKGBUILD index 66b2b86..2961a12 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -9,16 +9,16 @@ # Contributor: Renan Birck pkgname=logisim-evolution -pkgver=3.6.1 -pkgrel=3 +pkgver=3.7.0 +pkgrel=1 pkgdesc='An educational tool for designing and simulating digital logic circuits (build from source)' provides=('logisim-evolution') conflicts=('logisim-evolution-git' 'logisim-evolution-bin') arch=('any') url="https://github.com/reds-heig/logisim-evolution" license=('GPL3') -depends=('java-runtime>=14' 'hicolor-icon-theme') -makedepends=('java-environment>=14') +depends=('java-runtime>=16' 'hicolor-icon-theme') +makedepends=('java-environment>=16') source=("${pkgname}-${pkgver}.tar.gz::https://github.com/reds-heig/logisim-evolution/archive/v${pkgver}.tar.gz" "${pkgname}.sh") @@ -53,3 +53,5 @@ package() { -e 's|com.github.reds.LogisimEvolution|logisim-evolution|' \ -i "${pkgdir}/usr/share/applications/${pkgname}.desktop" } +sha256sums=('7bf16724e11bc4e441c1a4a2c207a629a6933d7941898908847a668bd8b9c043' + 'd5975cc0025905ab8a8a451ce4362ba876bed88008d3a5b2c0a7f664a85da1ba') -- cgit v1.2.3-70-g09d2 From 251e4302251926d957ae1af8c5295bc011d81ed2 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Tue, 12 Oct 2021 14:50:24 +0300 Subject: Fix mimetype warning This fixes the following warning; Wrong namespace on document element in '/usr/share/mime/packages/logisim-evolution.xml' (should be http://www.freedesktop.org/standards/shared-mime-info) Apparently https works for upstream: https://github.com/logisim-evolution/logisim-evolution/issues/678 --- .SRCINFO | 2 +- PKGBUILD | 7 ++++++- logisim-evolution.desktop | 9 --------- logisim-evolution.xml | 9 --------- 4 files changed, 7 insertions(+), 20 deletions(-) delete mode 100644 logisim-evolution.desktop delete mode 100644 logisim-evolution.xml diff --git a/.SRCINFO b/.SRCINFO index aed7967..2d93cba 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = logisim-evolution pkgdesc = An educational tool for designing and simulating digital logic circuits (build from source) pkgver = 3.7.0 - pkgrel = 1 + pkgrel = 2 url = https://github.com/reds-heig/logisim-evolution install = logisim-evolution.install arch = any diff --git a/PKGBUILD b/PKGBUILD index 2961a12..2f17e86 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -10,7 +10,7 @@ pkgname=logisim-evolution pkgver=3.7.0 -pkgrel=1 +pkgrel=2 pkgdesc='An educational tool for designing and simulating digital logic circuits (build from source)' provides=('logisim-evolution') conflicts=('logisim-evolution-git' 'logisim-evolution-bin') @@ -32,6 +32,11 @@ build() { ./gradlew shadowJar } +prepare() { + cd "${srcdir}/${pkgname}-${pkgver}" + sed -i 's/https/http/' "support/Flatpak/com.github.reds.LogisimEvolution.xml" +} + package() { cd "${srcdir}/${pkgname}-${pkgver}" install -Dm644 "build/libs/logisim-evolution-${pkgver}-all.jar" \ diff --git a/logisim-evolution.desktop b/logisim-evolution.desktop deleted file mode 100644 index 3bda6b1..0000000 --- a/logisim-evolution.desktop +++ /dev/null @@ -1,9 +0,0 @@ -[Desktop Entry] -Name=Logisim Evolution -Comment=An educational tool for designing and simulating digital logic circuits -Exec=/usr/bin/logisim-evolution -Icon=logisim-evolution -Terminal=false -Type=Application -Categories=Education -MimeType=application/x-logisim-evolution diff --git a/logisim-evolution.xml b/logisim-evolution.xml deleted file mode 100644 index 92a3586..0000000 --- a/logisim-evolution.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - Logisim Evolution Circuits - - - - -- cgit v1.2.3-70-g09d2 From 0a8f3a97e7c3d9b880ad07bdd19d50704fa10e0c Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Tue, 12 Oct 2021 17:18:18 +0300 Subject: Fix install script reminder --- logisim-evolution.install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/logisim-evolution.install b/logisim-evolution.install index e9feb9c..12fd321 100644 --- a/logisim-evolution.install +++ b/logisim-evolution.install @@ -5,7 +5,7 @@ pre_install() { pre_upgrade() { cat << EOF - This package requires java-runtime>= 14, if you have multiple jdks installed + This package requires java-runtime>= 16, if you have multiple jdks installed please ensure the correct one is set; # archlinux-java set java-16-openjdk -- cgit v1.2.3-70-g09d2 From 4bdef0fbefd29c523e099de19fba31fa39ae4759 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Thu, 21 Oct 2021 19:36:35 +0300 Subject: Update to v3.7.1 --- .SRCINFO | 8 ++++---- PKGBUILD | 8 +++----- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 2d93cba..cf74612 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = logisim-evolution pkgdesc = An educational tool for designing and simulating digital logic circuits (build from source) - pkgver = 3.7.0 - pkgrel = 2 + pkgver = 3.7.1 + pkgrel = 1 url = https://github.com/reds-heig/logisim-evolution install = logisim-evolution.install arch = any @@ -12,9 +12,9 @@ pkgbase = logisim-evolution provides = logisim-evolution conflicts = logisim-evolution-git conflicts = logisim-evolution-bin - source = logisim-evolution-3.7.0.tar.gz::https://github.com/reds-heig/logisim-evolution/archive/v3.7.0.tar.gz + source = logisim-evolution-3.7.1.tar.gz::https://github.com/reds-heig/logisim-evolution/archive/v3.7.1.tar.gz source = logisim-evolution.sh - sha256sums = 7bf16724e11bc4e441c1a4a2c207a629a6933d7941898908847a668bd8b9c043 + sha256sums = c073c8113159e8127cee818fad32d5fbe943b1072459f5a914fd99906f19f179 sha256sums = d5975cc0025905ab8a8a451ce4362ba876bed88008d3a5b2c0a7f664a85da1ba pkgname = logisim-evolution diff --git a/PKGBUILD b/PKGBUILD index 2f17e86..f1023ae 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -9,8 +9,8 @@ # Contributor: Renan Birck pkgname=logisim-evolution -pkgver=3.7.0 -pkgrel=2 +pkgver=3.7.1 +pkgrel=1 pkgdesc='An educational tool for designing and simulating digital logic circuits (build from source)' provides=('logisim-evolution') conflicts=('logisim-evolution-git' 'logisim-evolution-bin') @@ -22,7 +22,7 @@ makedepends=('java-environment>=16') source=("${pkgname}-${pkgver}.tar.gz::https://github.com/reds-heig/logisim-evolution/archive/v${pkgver}.tar.gz" "${pkgname}.sh") -sha256sums=('181694b68578bf0ecc9e6498e9246e49e60e926b4b047094419baf2f4bb721fb' +sha256sums=('c073c8113159e8127cee818fad32d5fbe943b1072459f5a914fd99906f19f179' 'd5975cc0025905ab8a8a451ce4362ba876bed88008d3a5b2c0a7f664a85da1ba') install=$pkgname.install @@ -58,5 +58,3 @@ package() { -e 's|com.github.reds.LogisimEvolution|logisim-evolution|' \ -i "${pkgdir}/usr/share/applications/${pkgname}.desktop" } -sha256sums=('7bf16724e11bc4e441c1a4a2c207a629a6933d7941898908847a668bd8b9c043' - 'd5975cc0025905ab8a8a451ce4362ba876bed88008d3a5b2c0a7f664a85da1ba') -- cgit v1.2.3-70-g09d2 From 98dddcf12b6d65f72cb59b9f6d6ccf0f327cd66b Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Tue, 9 Nov 2021 14:03:38 +0300 Subject: Update to v3.7.2 --- .SRCINFO | 7 +++---- PKGBUILD | 55 ++++++++++++++++++++++++++++--------------------------- 2 files changed, 31 insertions(+), 31 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index cf74612..75240ce 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,6 +1,6 @@ pkgbase = logisim-evolution pkgdesc = An educational tool for designing and simulating digital logic circuits (build from source) - pkgver = 3.7.1 + pkgver = 3.7.2 pkgrel = 1 url = https://github.com/reds-heig/logisim-evolution install = logisim-evolution.install @@ -9,12 +9,11 @@ pkgbase = logisim-evolution makedepends = java-environment>=16 depends = java-runtime>=16 depends = hicolor-icon-theme - provides = logisim-evolution conflicts = logisim-evolution-git conflicts = logisim-evolution-bin - source = logisim-evolution-3.7.1.tar.gz::https://github.com/reds-heig/logisim-evolution/archive/v3.7.1.tar.gz + source = logisim-evolution-3.7.2.tar.gz::https://github.com/reds-heig/logisim-evolution/archive/v3.7.2.tar.gz source = logisim-evolution.sh - sha256sums = c073c8113159e8127cee818fad32d5fbe943b1072459f5a914fd99906f19f179 + sha256sums = 523faf241cb1ec149c9808f043cb9d3ec5725a9cc6f7631edcfd1acf5c075d68 sha256sums = d5975cc0025905ab8a8a451ce4362ba876bed88008d3a5b2c0a7f664a85da1ba pkgname = logisim-evolution diff --git a/PKGBUILD b/PKGBUILD index f1023ae..1ba8b5f 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -9,18 +9,17 @@ # Contributor: Renan Birck pkgname=logisim-evolution -pkgver=3.7.1 +pkgver=3.7.2 pkgrel=1 pkgdesc='An educational tool for designing and simulating digital logic circuits (build from source)' -provides=('logisim-evolution') -conflicts=('logisim-evolution-git' 'logisim-evolution-bin') +conflicts=("${pkgname}-git" "${pkgname}-bin") arch=('any') url="https://github.com/reds-heig/logisim-evolution" license=('GPL3') depends=('java-runtime>=16' 'hicolor-icon-theme') makedepends=('java-environment>=16') -source=("${pkgname}-${pkgver}.tar.gz::https://github.com/reds-heig/logisim-evolution/archive/v${pkgver}.tar.gz" +source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz" "${pkgname}.sh") sha256sums=('c073c8113159e8127cee818fad32d5fbe943b1072459f5a914fd99906f19f179' 'd5975cc0025905ab8a8a451ce4362ba876bed88008d3a5b2c0a7f664a85da1ba') @@ -28,33 +27,35 @@ sha256sums=('c073c8113159e8127cee818fad32d5fbe943b1072459f5a914fd99906f19f179' install=$pkgname.install build() { - cd "${srcdir}/${pkgname}-${pkgver}" - ./gradlew shadowJar + cd "${srcdir}/${pkgname}-${pkgver}" + ./gradlew shadowJar } prepare() { - cd "${srcdir}/${pkgname}-${pkgver}" - sed -i 's/https/http/' "support/Flatpak/com.github.reds.LogisimEvolution.xml" + cd "${srcdir}/${pkgname}-${pkgver}" + sed -i 's/https/http/' "support/Flatpak/com.github.reds.LogisimEvolution.xml" } package() { - cd "${srcdir}/${pkgname}-${pkgver}" - install -Dm644 "build/libs/logisim-evolution-${pkgver}-all.jar" \ - "${pkgdir}/usr/share/java/${pkgname}/${pkgname}.jar" - install -Dm644 "support/Flatpak/com.github.reds.LogisimEvolution.xml" \ - "${pkgdir}/usr/share/mime/packages/${pkgname}.xml" - install -Dm644 "support/Flatpak/com.github.reds.LogisimEvolution.desktop" \ - "${pkgdir}/usr/share/applications/${pkgname}.desktop" - - for SIZE in 16 32 48 128 256; do - install -Dm644 \ - "src/main/resources/resources/logisim/img/logisim-icon-${SIZE}.png" \ - "${pkgdir}/usr/share/icons/hicolor/${SIZE}x${SIZE}/apps/${pkgname}.png" - done - - install -Dm755 "${srcdir}/${pkgname}.sh" "${pkgdir}/usr/bin/${pkgname}" - - sed -e 's|Exec=.*|Exec=/usr/bin/logisim-evolution|' \ - -e 's|com.github.reds.LogisimEvolution|logisim-evolution|' \ - -i "${pkgdir}/usr/share/applications/${pkgname}.desktop" + cd "${srcdir}/${pkgname}-${pkgver}" + install -Dm644 "build/libs/logisim-evolution-${pkgver}-all.jar" \ + "${pkgdir}/usr/share/java/${pkgname}/${pkgname}.jar" + install -Dm644 "support/Flatpak/com.github.reds.LogisimEvolution.xml" \ + "${pkgdir}/usr/share/mime/packages/${pkgname}.xml" + install -Dm644 "support/Flatpak/com.github.reds.LogisimEvolution.desktop" \ + "${pkgdir}/usr/share/applications/${pkgname}.desktop" + + for SIZE in 16 32 48 128 256; do + install -Dm644 \ + "src/main/resources/resources/logisim/img/logisim-icon-${SIZE}.png" \ + "${pkgdir}/usr/share/icons/hicolor/${SIZE}x${SIZE}/apps/${pkgname}.png" + done + + install -Dm755 "${srcdir}/${pkgname}.sh" "${pkgdir}/usr/bin/${pkgname}" + + sed -e 's|Exec=.*|Exec=/usr/bin/logisim-evolution|' \ + -e 's|com.github.reds.LogisimEvolution|logisim-evolution|' \ + -i "${pkgdir}/usr/share/applications/${pkgname}.desktop" } +sha256sums=('523faf241cb1ec149c9808f043cb9d3ec5725a9cc6f7631edcfd1acf5c075d68' + 'd5975cc0025905ab8a8a451ce4362ba876bed88008d3a5b2c0a7f664a85da1ba') -- cgit v1.2.3-70-g09d2 From 7f3e1aeb628ca6b89b5d9579cc733be8e0de38b1 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Wed, 10 Nov 2021 13:00:22 +0300 Subject: Remove duplicate sha256sums --- PKGBUILD | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index 1ba8b5f..0212316 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -21,7 +21,7 @@ makedepends=('java-environment>=16') source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz" "${pkgname}.sh") -sha256sums=('c073c8113159e8127cee818fad32d5fbe943b1072459f5a914fd99906f19f179' +sha256sums=('523faf241cb1ec149c9808f043cb9d3ec5725a9cc6f7631edcfd1acf5c075d68' 'd5975cc0025905ab8a8a451ce4362ba876bed88008d3a5b2c0a7f664a85da1ba') install=$pkgname.install @@ -57,5 +57,3 @@ package() { -e 's|com.github.reds.LogisimEvolution|logisim-evolution|' \ -i "${pkgdir}/usr/share/applications/${pkgname}.desktop" } -sha256sums=('523faf241cb1ec149c9808f043cb9d3ec5725a9cc6f7631edcfd1acf5c075d68' - 'd5975cc0025905ab8a8a451ce4362ba876bed88008d3a5b2c0a7f664a85da1ba') -- cgit v1.2.3-70-g09d2 From 6bbe99213a2919208e327a88d92c0e0d3dff48b0 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Sun, 2 Oct 2022 23:07:23 +0300 Subject: Update to v3.8.0 --- .SRCINFO | 8 ++++---- .gitignore | 4 +++- PKGBUILD | 6 +++--- logisim-evolution.install | 2 +- 4 files changed, 11 insertions(+), 9 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 75240ce..d002064 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,6 +1,6 @@ pkgbase = logisim-evolution - pkgdesc = An educational tool for designing and simulating digital logic circuits (build from source) - pkgver = 3.7.2 + pkgdesc = An educational tool for designing and simulating digital logic circuits + pkgver = 3.8.0 pkgrel = 1 url = https://github.com/reds-heig/logisim-evolution install = logisim-evolution.install @@ -11,9 +11,9 @@ pkgbase = logisim-evolution depends = hicolor-icon-theme conflicts = logisim-evolution-git conflicts = logisim-evolution-bin - source = logisim-evolution-3.7.2.tar.gz::https://github.com/reds-heig/logisim-evolution/archive/v3.7.2.tar.gz + source = logisim-evolution-3.8.0.tar.gz::https://github.com/reds-heig/logisim-evolution/archive/v3.8.0.tar.gz source = logisim-evolution.sh - sha256sums = 523faf241cb1ec149c9808f043cb9d3ec5725a9cc6f7631edcfd1acf5c075d68 + sha256sums = 7a49558a490a0df886b3ea488f12e4ea887a2ec8c278872dca39b2bebfaed3ee sha256sums = d5975cc0025905ab8a8a451ce4362ba876bed88008d3a5b2c0a7f664a85da1ba pkgname = logisim-evolution diff --git a/.gitignore b/.gitignore index b5ec025..929582e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ resources *.tar.* -*.jar \ No newline at end of file +*.jar +pkg/ +src/ diff --git a/PKGBUILD b/PKGBUILD index 0212316..63c353f 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -9,9 +9,9 @@ # Contributor: Renan Birck pkgname=logisim-evolution -pkgver=3.7.2 +pkgver=3.8.0 pkgrel=1 -pkgdesc='An educational tool for designing and simulating digital logic circuits (build from source)' +pkgdesc='An educational tool for designing and simulating digital logic circuits' conflicts=("${pkgname}-git" "${pkgname}-bin") arch=('any') url="https://github.com/reds-heig/logisim-evolution" @@ -21,7 +21,7 @@ makedepends=('java-environment>=16') source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz" "${pkgname}.sh") -sha256sums=('523faf241cb1ec149c9808f043cb9d3ec5725a9cc6f7631edcfd1acf5c075d68' +sha256sums=('7a49558a490a0df886b3ea488f12e4ea887a2ec8c278872dca39b2bebfaed3ee' 'd5975cc0025905ab8a8a451ce4362ba876bed88008d3a5b2c0a7f664a85da1ba') install=$pkgname.install diff --git a/logisim-evolution.install b/logisim-evolution.install index 12fd321..9d2c85d 100644 --- a/logisim-evolution.install +++ b/logisim-evolution.install @@ -14,7 +14,7 @@ pre_upgrade() { Please notice that this AUR repo is a build-from-source package. - However, binary version (the previous one) can be found as 'logisim-evolution-bin'. + The binary version can be found as 'logisim-evolution-bin'. EOF -- cgit v1.2.3-70-g09d2