summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f819fe00aacfb3dfff52eba744e8e38497a4e3ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: tuftedocelot@fastmail.fm
_pkgname=dswitcher
pkgname=${_pkgname}-git
pkgver=10
pkgrel=2
pkgdesc='Dmenu-based window switcher for EWHM-compliant X11 window managers'
arch=('any')
url="https://github.com/Antithesisx/dswitcher"
license='GPLv3'
depends=('wmctrl' 'dmenu')
makedepends=('git')
source=("git://github.com/Antithesisx/dswitcher.git")
md5sums=('SKIP')

pkgver() {
    cd "$srcdir/$_pkgname"
    git rev-list --count HEAD
}

package() {
    install -Dm 755 "$srcdir/$_pkgname/$_pkgname" "${pkgdir}/usr/bin/$_pkgname"
    install -D -m644 "$srcdir/$_pkgname/LICENSE" "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE"
}