summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ffb83f4a2aa29419ec241ff3a6bd2ec5d52c97aa (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
pkgname='todd'
pkgver=11.6c51336
pkgrel=1
pkgdesc='An HTTP server that streams the stdout of a single command. More generic and elegant than woof.'
arch=('any')
url="https://github.com/ewtoombs/$pkgname"
license=('MIT')
depends=('python')
makedepends=()
source=("git+https://github.com/ewtoombs/$pkgname.git")
md5sums=('SKIP')

pkgver () {
    #_date="$(date '+%Y%m%d')"
	cd "$srcdir/$pkgname"
	echo "$(git rev-list --count master).$(git rev-parse --short master)"
}

package () {
    cd "$srcdir/$pkgname"

    install -D -m 0755 'todd' "$pkgdir/usr/bin/todd"
    install -D 'LICENSE' "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}