summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: de4e1f30691b60a5fb376e76162de800804c8e9d (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
# Maintainer: Santiago Lo Coco <mail at slococo dot com dot ar>

_pkgname='pdd'
pkgname="${_pkgname}-git"
pkgver=r148.3def901
pkgrel=1
pkgdesc='Tiny date, time diff calculator with piggybacked timers.'
arch=('any')
url='https://github.com/jarun/pdd'
license=('GPL3')
depends=('python' 'python-dateutil')
makedepends=('git' 'python-setuptools')
provides=("pdd")
conflicts=("pdd")
source=("git+${url}.git")
sha256sums=('SKIP')

pkgver() {
    cd "${srcdir}/${_pkgname}"
    printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
    cd "${srcdir}/${_pkgname}"
    make PREFIX=/usr DESTDIR="${pkgdir}" install
}