summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d7204bbc9ed7f458b7131d8c3f2478d077dd0470 (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
# Maintainer: Cullen Ross <cullenrss@gmail.com>

_pkgname='desknamer'
pkgname="${_pkgname}-git"
pkgver=r41.c81f631
pkgrel=2
pkgdesc='automatically rename bspwm desktops based on applications inside'
arch=('any')
url="https://gitlab.com/jallbrit/${_pkgname}"
license=('GPL3')
depends=('bspwm' 'python' 'bash')
makedepends=('git')
provides=('desknamer')
source=("${_pkgname}::git+${url}.git")
md5sums=(SKIP)

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

package() {
    cd "${srcdir}/${_pkgname}"
    make install
}