summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 309aeef87068b40fd1fca21cfad7a804b5e88180 (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: xezo360hye <xezo360hye@gmail.com>
# Contributor: K4zoku <kazoku0356@gmail.com>
_pkgname="nowm"
pkgname="${_pkgname}-git"
pkgver=r50.76a5557
pkgrel=1
pkgdesc="Managing window without a window manager"
arch=('any')
url="https://github.com/K4zoku/nowm"
license=('MIT')
depends=('sh' 'xdotool')
makedepends=('git')
optdepends=('xorg-xinit: for starting Xorg automatically')
provides=('nowm')
conflicts=('nowm')
source=("${_pkgname}::git+https://github.com/K4zoku/nowm.git")
sha256sums=('SKIP')

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

package() {
	cd "${srcdir}/${_pkgname}"
	install -Dm755 "bin/nowm" -t "${pkgdir}/usr/bin"
	install -Dm644 "LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}"
	install -Dm644 "man/nowm.1" -t "${pkgdir}/usr/share/man/man1"
}