Created
March 23, 2022 00:28
-
-
Save licensed/ea9d9423182791449e67ec063bc246ae to your computer and use it in GitHub Desktop.
IRPF2022-1.2 PKGBUILD
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: Márcio Sousa Rocha <marciosr10@gmail.com> | |
pkgname=irpf | |
pkgver=2022.1.1 | |
pkgrel=1 | |
license=('custom') | |
arch=(any) | |
pkgdesc='Programa Oficial da Receita para elaboração do IRPF' | |
url='https://www.receita.fazenda.gov.br' | |
source=(https://downloadirpf.receita.fazenda.gov.br/irpf/2022/irpf/arquivos/IRPF2022-1.2.zip | |
Copyright | |
$pkgname.png | |
$pkgname.desktop | |
$pkgname) | |
md5sums=('431fc9345f65535ab98d38207795b182' | |
'0b81ed3a0a6200d2706caf541756d55d' | |
'43d8c9617118578f03b2c4eeb1c72c57' | |
'5c3f364ed6e30e8aac69ad4394deabba' | |
'a3343e87932f90696d08d0bd015ea89b') | |
depends=('java-runtime' 'hicolor-icon-theme' 'sh') | |
package() { | |
cd "$srcdir"/IRPF2022 | |
mkdir -p "$pkgdir"/usr/share/{icons/hicolor/128x128/apps,applications,licenses/irpf,irpf} | |
mkdir "$pkgdir"/usr/bin | |
cp -rf lib "$pkgdir"/usr/share/irpf/ | |
cp -rf lib-modulos "$pkgdir"/usr/share/irpf/ | |
cp -rf help "$pkgdir"/usr/share/irpf/ | |
install -Dm755 irpf.jar "$pkgdir"/usr/share/irpf/ | |
install -Dm644 Leia-me.htm "$pkgdir"/usr/share/irpf/ | |
install -Dm644 offline.png "$pkgdir"/usr/share/irpf/ | |
install -Dm644 online.png "$pkgdir"/usr/share/irpf/ | |
install -Dm644 pgd-updater.jar "$pkgdir"/usr/share/irpf/ | |
install -Dm755 "$srcdir"/irpf "$pkgdir"/usr/bin/ | |
install -Dm644 "$srcdir"/Copyright "$pkgdir"/usr/share/licenses/irpf/ | |
install -Dm644 "$srcdir"/irpf.png "$pkgdir"/usr/share/icons/hicolor/128x128/apps/ | |
install -Dm644 "$srcdir"/irpf.desktop "$pkgdir"/usr/share/applications/ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment