summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ae4d7747c75aba330781cd8191fbd32f3671ba0b (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
28
29
# Maintainer: fiskhest <johan+bspi at radivoj dot se>
# Maintainer: Adam Rutkowski <hq at mtod dot org>

_pkgname=bspi
pkgname=${_pkgname}-git
pkgver=r15.ed6d090
pkgrel=1
pkgdesc='Icons for bspwm, sort of'
arch=('any')
url="https://github.com/fiskhest/aur-${pkgname}"
license=('BSD')
depends=('bspwm' 'xorg-xprop' 'ttf-font-awesome' 'python')
makedepends=('git')
provides=("${_pkgname}")
conflicts=("${_pkgname}")
source=("git+https://github.com/aerosol/${_pkgname}.git")
md5sums=('SKIP')

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

package() {
    cd "${_pkgname}"
    install -D -m 755 -t "${pkgdir}/usr/bin" bspi.py bspi_listen
    install -D -m 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}