blob: 216576eada7dc334fc0ce08d3fa6568442e99d8a (
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
|
# Maintainer: Ensar Sarajčić <es.enar at gmail dot com>
#
pkgname="fbihtax"
pkgver="0.3.0"
pkgrel=1
epoch=
pkgdesc="CLI tool to help manage tax payments in FBiH (Bosnia and Herzegovina Federation) written in Rust."
arch=('any')
url="https://github.com/esensar/fbihtax"
license=('MIT')
groups=()
depends=()
makedepends=('cargo')
checkdepends=()
optdepends=("pdftk: PDF output support")
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=("$pkgname-$pkgver.tar.gz::https://github.com/esensar/$pkgname/archive/refs/tags/$pkgver.tar.gz")
noextract=()
sha256sums=('f96d45cfe28f769c8b9a92211432e488e96c679f1355001c7d70eaba979bd4e9')
validpgpkeys=()
build() {
cd "$srcdir/$pkgname-$pkgver"
cargo build --release --target-dir target
}
package() {
cd "$srcdir/$pkgname-$pkgver"
install -Dm775 "target/release/fbihtax" "$pkgdir/usr/bin/fbihtax"
install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/fbihtax/LICENSE"
}
# vim:set ts=4 sw=2 ft=sh et syn=sh ft=sh:
|