blob: f219287bf163b2fed0b1500309af03ad654ccf56 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
# Maintainer: Márcio Sousa Rocha <marciosr10@gmail.com>
DLAGENTS=('https::/usr/bin/curl -k -o %o %u')
pkgname=leao
pkgver=2020.1.0
pkgrel=1
license=('custom')
arch=(any)
pkgdesc='O Carnê-leão é o programa para a tributação do Imposto sobre a Renda das Pessoas Físicas, sob a forma do recolhimento mensal obrigatório, pelo contribuinte, pessoa física, residente no Brasil, que receber rendimentos de outra pessoa física ou do exterior.'
url='http://www.receita.fazenda.gov.br'
source=(https://downloadirpf.receita.fazenda.gov.br/irpf/2020/leao/LEAO2020v1.0.zip
$pkgname.png
$pkgname.desktop
$pkgname.install
$pkgname)
noextract=(LEAO2020v1.0.zip)
md5sums=('41858ff5002b1363f98ce8520c0ba439'
'725dc07b10c6debced300e9aa106e8fa'
'e69686d7b2c901ba625d5745f58c6c4b'
'b0a5c911f4a3ce472699aa8b81d21b3d'
'c5f9c5c6d9acd1d0db7effb401f4e685')
depends=('java-environment' 'hicolor-icon-theme' 'desktop-file-utils')
optdepends=('receitanet: Para envio do IRPF')
makedepends=('unzip')
install=$pkgname.install
prepare() {
unzip LEAO2020v1.0.zip
}
package() {
cd "$srcdir"/LEAO2020
rm -f LEAO2020.exe
rm -f exec.sh
rm -f Leia_me.htm
rm -f exec.bat
rm -f RFB.ico
mkdir -p "$pkgdir"/usr/share/{icons/hicolor/128x128/apps,applications,leao}
mkdir "$pkgdir"/usr/bin
cp -rf lib "$pkgdir"/usr/share/leao/
cp -rf help "$pkgdir"/usr/share/leao/
install -Dm644 PgdCarneLeao.jar "$pkgdir"/usr/share/leao/
install -Dm755 "$srcdir"/leao "$pkgdir"/usr/bin/
install -Dm644 offline.png "$pkgdir"/usr/share/leao/
install -Dm644 online.png "$pkgdir"/usr/share/leao/
install -Dm644 pgd-updater.jar "$pkgdir"/usr/share/leao/
install -Dm644 "$srcdir"/leao.png "$pkgdir"/usr/share/icons/hicolor/128x128/apps/
install -Dm644 "$srcdir"/leao.desktop "$pkgdir"/usr/share/applications/
}
|