summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 78ad3ff993c66c7c30bae4b560769e9549c3e292 (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.4.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
}