summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1b28aa0acd8f62aa97fc38700cdbfa8b879f58cc (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.5.3
pkgrel=1
pkgdesc="Web based ledger"
arch=("any")
url="https://github.com/jnphilipp/ledger"
license=("GPL-3.0-or-later")
makedepends=("git" "help2man")
depends=("python" "python-django" "python-gobject" "python-dbus" "python-django-html-utils" "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
}