diff options
author | soloturn | 2023-02-08 09:53:00 +0100 |
---|---|---|
committer | soloturn | 2023-02-08 10:52:53 +0100 |
commit | 36de3557b34dad4da0278a82772980ef03e15932 (patch) | |
tree | d4163fb0a8577bc102887a82f6ba4613402c2ca2 | |
parent | 2d190dd69fbdc149029c3dec15b6a63939a7c900 (diff) | |
download | aur-36de3557b34dad4da0278a82772980ef03e15932.tar.gz |
add icon, no java8 requirement any more
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 17 | ||||
-rw-r--r-- | easytax-ag-2022.desktop | 8 |
3 files changed, 18 insertions, 12 deletions
@@ -6,10 +6,11 @@ pkgbase = easytax-ag-2022 arch = any license = custom depends = java-environment - depends = bash source = https://msg-easytax.ch/ag/2022/EasyTax2022AG_unix_1_1.tar.gz + source = https://upload.wikimedia.org/wikipedia/commons/d/d9/Wappen_Aargau.svg source = easytax-ag-2022.desktop sha256sums = 0a6c7bcbc8179364da3b4b6772a17b7296b5687a1612e93501ccb3f7c4a99cd4 - sha256sums = c4ee6bbd08d5e6ead09ac11770b7fefe8df654dae6d8fd981a25a64c42761d6c + sha256sums = 253d315b20371cd9add777dc990f96545c60d5d07a3f34cd33720d5148e82486 + sha256sums = f666973e4142a2be29f19e206027aa89e7e7816021dbcff5f4df022cf6e11bb4 pkgname = easytax-ag-2022 @@ -2,33 +2,38 @@ # Maintainer: Daniel Wilhelm <concat(shield, wed) @ outlook.com> # Maintainer: soloturn@gmail.com -yyyy=2022 -pkgname=easytax-ag-${yyyy} +_yyyy=2022 +pkgname=easytax-ag-${_yyyy} pkgver=1.1 pkgrel=1 pkgdesc="Aargau tax declaration software." arch=(any) url="https://www.ag.ch/de/dfr/steuern/natuerliche_personen/steuererklaerung__easytax/steuererklaerung_easytax1.jsp" license=('custom') -depends=("java-environment" "bash") +depends=("java-environment") source=( - "https://msg-easytax.ch/ag/${yyyy}/EasyTax${yyyy}AG_unix_$(echo ${pkgver} | sed 's/\./_/').tar.gz" + "https://msg-easytax.ch/ag/${_yyyy}/EasyTax${_yyyy}AG_unix_$(echo ${pkgver} | sed 's/\./_/').tar.gz" + "https://upload.wikimedia.org/wikipedia/commons/d/d9/Wappen_Aargau.svg" "$pkgname.desktop" ) sha256sums=( '0a6c7bcbc8179364da3b4b6772a17b7296b5687a1612e93501ccb3f7c4a99cd4' - 'c4ee6bbd08d5e6ead09ac11770b7fefe8df654dae6d8fd981a25a64c42761d6c' + '253d315b20371cd9add777dc990f96545c60d5d07a3f34cd33720d5148e82486' + 'f666973e4142a2be29f19e206027aa89e7e7816021dbcff5f4df022cf6e11bb4' ) package() { # package the software, the xdg desktop file so GUI finds it # and the link in bin so commandline finds it. mkdir -p "$pkgdir"/usr/lib - mv "$srcdir"/EasyTax${yyyy}AG/ "$pkgdir"/usr/lib/$pkgname/ + mv "$srcdir"/EasyTax${_yyyy}AG/ "$pkgdir"/usr/lib/$pkgname/ mkdir -p "$pkgdir"/usr/share/applications cp *.desktop "$pkgdir"/usr/share/applications/ + mkdir -p "$pkgdir"/usr/share/icons/hicolor/scalable/apps/ + cp Wappen_Aargau.svg "$pkgdir"/usr/share/icons/hicolor/scalable/apps/ + mkdir -p "$pkgdir"/usr/bin binname=$(basename "$pkgdir"/usr/lib/$pkgname/EasyTax*) ln -sf /usr/lib/${pkgname}/$binname "$pkgdir"/usr/bin/$pkgname diff --git a/easytax-ag-2022.desktop b/easytax-ag-2022.desktop index 0249eddb1883..5698ab44a732 100644 --- a/easytax-ag-2022.desktop +++ b/easytax-ag-2022.desktop @@ -1,7 +1,7 @@ #!/usr/bin/env xdg-open [Desktop Entry] -Type=Application -Name=EasyTax 2022 AG -Exec=INSTALL4J_JAVA_HOME=/usr/lib/jvm/java-8-openjdk/jre /bin/sh -c /usr/bin/easytax-ag-2022 Categories=Office; - +Exec=/usr/bin/easytax-ag-2022 +Icon=Wappen_Aargau +Name=EasyTax 2022 AG +Type=Application |