summaryrefslogtreecommitdiff
path: root/community/wmname/PKGBUILD
blob: 83887bce0ed36bceeb046ab82fa162c8e3c7f128 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Contributer: Vincent Kriek <vincent@vincentkriek.nl>

pkgname=wmname
pkgver=0.1
pkgrel=1
pkgdesc="A utility to set the name of your window manager"
url="http://www.suckless.org/programs/wmname.html"
license=('custom')
depends=(libx11)
arch=('i686' 'x86_64')
source=('http://code.suckless.org/dl/tools/wmname-0.1.tar.gz')
md5sums=('6903d299f84d335e529fbd2c1d6e49fe')

build() {
	cd $srcdir/$pkgname-$pkgver

	./configure --prefix=/usr
	make || return 1
	make PREFIX=$startdir/pkg/usr install || return 1
	install -Dm0644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
}