blob: fe17e643426d2b26f54a075ff7793b1bdc456b2c (
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
|
# Maintainer: Joakim Reinert <mail+aur@jreinert.com>
_name=icsv2ledger
pkgname=python-icsv2ledger-git
pkgver=r181.97329f6
pkgrel=1
pkgdesc='Interactive importing of CSV files to Ledger'
arch=(any)
url='https://github.com/quentinsf/icsv2ledger'
license=(unknown)
depends=('python')
source=(
"${_name}::git+https://github.com/quentinsf/icsv2ledger.git"
'icsv2ledgerrc.example'
)
sha512sums=(
'SKIP'
'0ad2a270b0177d66bd00d0aa41e78197cd2c8c1f87826173b1cf58b19343462c44bad9601af3dcd79d00b25b9ecd98c06fb43677fa55c1d08b44ea30e571626d'
)
provides=('python-icsv2ledger')
conflicts=('python-icsv2ledger')
pkgver() {
cd "$_name"
printf 'r%s.%s' "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd "$_name"
install -Dm755 'icsv2ledger.py' "$pkgdir/usr/bin/$_name"
install -Dm644 '../icsv2ledgerrc.example' "$pkgdir/usr/share/doc/$_name/icsv2ledgerrc"
}
# vim:set ts=2 sw=2 et:
|