blob: 1c5ca60876377ce58595611132130c88d11b2192 (
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
|
# Maintainer: Jenya Sovetkin <e dot sovetkin at gmail dot com>
pkgname=ledger-plots-git
pkgver=r65.dbe9138
pkgrel=1
pkgdesc="Tool to make plots for ledger"
arch=('i686' 'x86_64')
url="https://github.com/esovetkin/ledger-plots.git"
license=('GPL')
depends=('r')
makedepends=('git')
optdepends=('ledger: otherwise the script is useless')
provides=('ledger-plots')
replaces=()
backup=()
options=()
install="usage.install"
source=('git+https://github.com/esovetkin/ledger-plots.git')
noextract=()
md5sums=('SKIP')
_gitroot=git://github.com/esovetkin/ledger-plots
_gitname=ledger-plots
pkgver() {
cd "${srcdir}/${_gitname}"
# Get the version number.
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd "${srcdir}/${_gitname}"
install -vDm755 ledger-plots "${pkgdir}/usr/bin/ledger-plots"
install -vDm644 LICENSE "${pkgdir}/usr/share/licenses/$pkgname/LICENSE"
}
# vim:set ts=2 sw=2 et:
|