summaryrefslogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD12
1 files changed, 7 insertions, 5 deletions
diff --git a/PKGBUILD b/PKGBUILD
index b73b291..7fed87d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,7 @@
6 6
7pkgname=logisim-evolution 7pkgname=logisim-evolution
8pkgver=2.15.0 8pkgver=2.15.0
9pkgrel=1 9pkgrel=2
10pkgdesc='An educational tool for designing and simulating digital logic circuits' 10pkgdesc='An educational tool for designing and simulating digital logic circuits'
11arch=('any') 11arch=('any')
12url="https://github.com/reds-heig/logisim-evolution" 12url="https://github.com/reds-heig/logisim-evolution"
@@ -37,11 +37,13 @@ package() {
37 install -Dm644 "${pkgname}.xml" \ 37 install -Dm644 "${pkgname}.xml" \
38 "${pkgdir}/usr/share/mime/packages/${pkgname}.xml" 38 "${pkgdir}/usr/share/mime/packages/${pkgname}.xml"
39 install -Dm644 "${pkgname}.desktop" \ 39 install -Dm644 "${pkgname}.desktop" \
40 "${pkgdir}/usr/share/applications/${pkgname}logisim-evolution.desktop" 40 "${pkgdir}/usr/share/applications/logisim-evolution.desktop"
41 for SIZE in 16 20 24 48 64 128; do 41 for SIZE in 16 24 48 64 128; do
42 install -Dm644 "${pkgname}-${pkgver}/src/main/resources/resources/logisim/img/logisim-icon-64.png" \ 42 install -Dm644 "${pkgname}-${pkgver}/src/main/resources/resources/logisim/img/logisim-icon-${SIZE}.png" \
43 "${pkgdir}/usr/share/icons/hicolor/${SIZE}x${SIZE}/apps/${pkgname}logisim-evolution.png" 43 "${pkgdir}/usr/share/icons/hicolor/${SIZE}x${SIZE}/apps/logisim-evolution.png"
44 done 44 done
45 install -Dm644 "${pkgname}-${pkgver}/src/main/resources/resources/logisim/img/logisim-icon.svg" \
46 "${pkgdir}/usr/share/icons/hicolor/scalable/apps/logisim-evolution.svg"
45 install -Dm755 "${pkgname}.sh" "${pkgdir}/usr/bin/${pkgname}" 47 install -Dm755 "${pkgname}.sh" "${pkgdir}/usr/bin/${pkgname}"
46} 48}
47 49