summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0afc0a1f9d593f06e3168ef98c05e4818816d280 (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: ferk <ferkiwi @at gmail dot com>

pkgname=stest
pkgver=1.d88d470
pkgrel=1
pkgdesc="filter a file list by properties (replacement for dmenu stest)"
arch=('any')
url="http://github.com/Ferk/stest"
license=('MIT')
depends=()
makedepends=('git')
conflicts=('dmenu<=9')
provides=('stest')
source=("git+https://github.com/Ferk/stest.git")
md5sums=('SKIP')

_gitroot="stest"

pkgver () {
    cd "$srcdir/$_gitroot"
    echo "$(git rev-list --count HEAD).$(git describe --always)"
}

package() {
    cd "$srcdir/$_gitroot"
    make PREFIX=/usr MANPREFIX=/usr/share/man DESTDIR="$pkgdir" install
}