summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b61ab25c80c6182be2ce3f83a464485ef3a8f344 (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
# Maintainer: J. Nathanael Philipp <nathanael@philipp.land>
pkgname=webledger
_pkgname=${pkgname#web}
provides=(${_pkgname})
pkgver=2.2.3
pkgrel=1
pkgdesc="Web based ledger"
arch=("any")
url="https://github.com/jnphilipp/ledger"
license=("GPL3+")
makedepends=("git" "help2man")
depends=("python" "python-django" "python-gobject" "python-dbus" "python-django_bootstrap5" "systemd" "uwsgi" "uwsgi-plugin-python")
source=("git+https://github.com/jnphilipp/ledger.git")
md5sums=(SKIP)

check() {
    cd "$srcdir/$_pkgname"
    git checkout $pkgver
    make clean
    make test
}

package() {
    cd "$srcdir/$_pkgname"
    git checkout $pkgver
    make install DEST_DIR=$pkgdir
}