diff options
author | Yigit Sever | 2021-11-16 15:48:01 +0300 |
---|---|---|
committer | Yigit Sever | 2021-11-16 15:48:01 +0300 |
commit | 1eff5897eb494bdb0837dd2eb8081f7c515b213e (patch) | |
tree | 7c84d2b2225a966ada63e845bb13d86a6e712140 | |
parent | 54b6095321e7a203b692edb6b74c75a0423236eb (diff) | |
download | packages-1eff5897eb494bdb0837dd2eb8081f7c515b213e.tar.gz packages-1eff5897eb494bdb0837dd2eb8081f7c515b213e.tar.bz2 packages-1eff5897eb494bdb0837dd2eb8081f7c515b213e.zip |
logisim-evolution: 3.7.2
-rw-r--r-- | logisim-evolution/.SRCINFO | 7 | ||||
-rw-r--r-- | logisim-evolution/PKGBUILD | 55 |
2 files changed, 30 insertions, 32 deletions
diff --git a/logisim-evolution/.SRCINFO b/logisim-evolution/.SRCINFO index cf74612..75240ce 100644 --- a/logisim-evolution/.SRCINFO +++ b/logisim-evolution/.SRCINFO | |||
@@ -1,6 +1,6 @@ | |||
1 | pkgbase = logisim-evolution | 1 | pkgbase = 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.7.1 | 3 | pkgver = 3.7.2 |
4 | pkgrel = 1 | 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 |
@@ -9,12 +9,11 @@ pkgbase = logisim-evolution | |||
9 | makedepends = java-environment>=16 | 9 | makedepends = java-environment>=16 |
10 | depends = java-runtime>=16 | 10 | depends = java-runtime>=16 |
11 | depends = hicolor-icon-theme | 11 | depends = hicolor-icon-theme |
12 | provides = logisim-evolution | ||
13 | conflicts = logisim-evolution-git | 12 | conflicts = logisim-evolution-git |
14 | conflicts = logisim-evolution-bin | 13 | conflicts = logisim-evolution-bin |
15 | source = logisim-evolution-3.7.1.tar.gz::https://github.com/reds-heig/logisim-evolution/archive/v3.7.1.tar.gz | 14 | source = logisim-evolution-3.7.2.tar.gz::https://github.com/reds-heig/logisim-evolution/archive/v3.7.2.tar.gz |
16 | source = logisim-evolution.sh | 15 | source = logisim-evolution.sh |
17 | sha256sums = c073c8113159e8127cee818fad32d5fbe943b1072459f5a914fd99906f19f179 | 16 | sha256sums = 523faf241cb1ec149c9808f043cb9d3ec5725a9cc6f7631edcfd1acf5c075d68 |
18 | sha256sums = d5975cc0025905ab8a8a451ce4362ba876bed88008d3a5b2c0a7f664a85da1ba | 17 | sha256sums = d5975cc0025905ab8a8a451ce4362ba876bed88008d3a5b2c0a7f664a85da1ba |
19 | 18 | ||
20 | pkgname = logisim-evolution | 19 | pkgname = logisim-evolution |
diff --git a/logisim-evolution/PKGBUILD b/logisim-evolution/PKGBUILD index f1023ae..0212316 100644 --- a/logisim-evolution/PKGBUILD +++ b/logisim-evolution/PKGBUILD | |||
@@ -9,52 +9,51 @@ | |||
9 | # Contributor: Renan Birck <renan.ee.ufsm at gmail.com> | 9 | # Contributor: Renan Birck <renan.ee.ufsm at gmail.com> |
10 | 10 | ||
11 | pkgname=logisim-evolution | 11 | pkgname=logisim-evolution |
12 | pkgver=3.7.1 | 12 | pkgver=3.7.2 |
13 | pkgrel=1 | 13 | pkgrel=1 |
14 | 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)' |
15 | provides=('logisim-evolution') | 15 | conflicts=("${pkgname}-git" "${pkgname}-bin") |
16 | conflicts=('logisim-evolution-git' 'logisim-evolution-bin') | ||
17 | arch=('any') | 16 | arch=('any') |
18 | url="https://github.com/reds-heig/logisim-evolution" | 17 | url="https://github.com/reds-heig/logisim-evolution" |
19 | license=('GPL3') | 18 | license=('GPL3') |
20 | depends=('java-runtime>=16' 'hicolor-icon-theme') | 19 | depends=('java-runtime>=16' 'hicolor-icon-theme') |
21 | makedepends=('java-environment>=16') | 20 | makedepends=('java-environment>=16') |
22 | 21 | ||
23 | source=("${pkgname}-${pkgver}.tar.gz::https://github.com/reds-heig/logisim-evolution/archive/v${pkgver}.tar.gz" | 22 | source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz" |
24 | "${pkgname}.sh") | 23 | "${pkgname}.sh") |
25 | sha256sums=('c073c8113159e8127cee818fad32d5fbe943b1072459f5a914fd99906f19f179' | 24 | sha256sums=('523faf241cb1ec149c9808f043cb9d3ec5725a9cc6f7631edcfd1acf5c075d68' |
26 | 'd5975cc0025905ab8a8a451ce4362ba876bed88008d3a5b2c0a7f664a85da1ba') | 25 | 'd5975cc0025905ab8a8a451ce4362ba876bed88008d3a5b2c0a7f664a85da1ba') |
27 | 26 | ||
28 | install=$pkgname.install | 27 | install=$pkgname.install |
29 | 28 | ||
30 | build() { | 29 | build() { |
31 | cd "${srcdir}/${pkgname}-${pkgver}" | 30 | cd "${srcdir}/${pkgname}-${pkgver}" |
32 | ./gradlew shadowJar | 31 | ./gradlew shadowJar |
33 | } | 32 | } |
34 | 33 | ||
35 | prepare() { | 34 | prepare() { |
36 | cd "${srcdir}/${pkgname}-${pkgver}" | 35 | cd "${srcdir}/${pkgname}-${pkgver}" |
37 | sed -i 's/https/http/' "support/Flatpak/com.github.reds.LogisimEvolution.xml" | 36 | sed -i 's/https/http/' "support/Flatpak/com.github.reds.LogisimEvolution.xml" |
38 | } | 37 | } |
39 | 38 | ||
40 | package() { | 39 | package() { |
41 | cd "${srcdir}/${pkgname}-${pkgver}" | 40 | cd "${srcdir}/${pkgname}-${pkgver}" |
42 | install -Dm644 "build/libs/logisim-evolution-${pkgver}-all.jar" \ | 41 | install -Dm644 "build/libs/logisim-evolution-${pkgver}-all.jar" \ |
43 | "${pkgdir}/usr/share/java/${pkgname}/${pkgname}.jar" | 42 | "${pkgdir}/usr/share/java/${pkgname}/${pkgname}.jar" |
44 | install -Dm644 "support/Flatpak/com.github.reds.LogisimEvolution.xml" \ | 43 | install -Dm644 "support/Flatpak/com.github.reds.LogisimEvolution.xml" \ |
45 | "${pkgdir}/usr/share/mime/packages/${pkgname}.xml" | 44 | "${pkgdir}/usr/share/mime/packages/${pkgname}.xml" |
46 | install -Dm644 "support/Flatpak/com.github.reds.LogisimEvolution.desktop" \ | 45 | install -Dm644 "support/Flatpak/com.github.reds.LogisimEvolution.desktop" \ |
47 | "${pkgdir}/usr/share/applications/${pkgname}.desktop" | 46 | "${pkgdir}/usr/share/applications/${pkgname}.desktop" |
48 | 47 | ||
49 | for SIZE in 16 32 48 128 256; do | 48 | for SIZE in 16 32 48 128 256; do |
50 | install -Dm644 \ | 49 | install -Dm644 \ |
51 | "src/main/resources/resources/logisim/img/logisim-icon-${SIZE}.png" \ | 50 | "src/main/resources/resources/logisim/img/logisim-icon-${SIZE}.png" \ |
52 | "${pkgdir}/usr/share/icons/hicolor/${SIZE}x${SIZE}/apps/${pkgname}.png" | 51 | "${pkgdir}/usr/share/icons/hicolor/${SIZE}x${SIZE}/apps/${pkgname}.png" |
53 | done | 52 | done |
54 | 53 | ||
55 | install -Dm755 "${srcdir}/${pkgname}.sh" "${pkgdir}/usr/bin/${pkgname}" | 54 | install -Dm755 "${srcdir}/${pkgname}.sh" "${pkgdir}/usr/bin/${pkgname}" |
56 | 55 | ||
57 | sed -e 's|Exec=.*|Exec=/usr/bin/logisim-evolution|' \ | 56 | sed -e 's|Exec=.*|Exec=/usr/bin/logisim-evolution|' \ |
58 | -e 's|com.github.reds.LogisimEvolution|logisim-evolution|' \ | 57 | -e 's|com.github.reds.LogisimEvolution|logisim-evolution|' \ |
59 | -i "${pkgdir}/usr/share/applications/${pkgname}.desktop" | 58 | -i "${pkgdir}/usr/share/applications/${pkgname}.desktop" |
60 | } | 59 | } |