diff options
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 12 |
2 files changed, 8 insertions, 6 deletions
@@ -1,7 +1,7 @@ | |||
1 | pkgbase = logisim-evolution | 1 | pkgbase = logisim-evolution |
2 | pkgdesc = An educational tool for designing and simulating digital logic circuits | 2 | pkgdesc = An educational tool for designing and simulating digital logic circuits |
3 | pkgver = 2.15.0 | 3 | pkgver = 2.15.0 |
4 | pkgrel = 1 | 4 | pkgrel = 2 |
5 | url = https://github.com/reds-heig/logisim-evolution | 5 | url = https://github.com/reds-heig/logisim-evolution |
6 | arch = any | 6 | arch = any |
7 | license = GPL3 | 7 | license = GPL3 |
@@ -6,7 +6,7 @@ | |||
6 | 6 | ||
7 | pkgname=logisim-evolution | 7 | pkgname=logisim-evolution |
8 | pkgver=2.15.0 | 8 | pkgver=2.15.0 |
9 | pkgrel=1 | 9 | pkgrel=2 |
10 | pkgdesc='An educational tool for designing and simulating digital logic circuits' | 10 | pkgdesc='An educational tool for designing and simulating digital logic circuits' |
11 | arch=('any') | 11 | arch=('any') |
12 | url="https://github.com/reds-heig/logisim-evolution" | 12 | url="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 | ||