# Contributor: Stefan Wagner <stw@bit-strickerei.de>
# Maintainer: Stefan Wagner <stw@bit-strickerei.de>
pkgname=wmname
pkgver=0.1
pkgrel=0
pkgdesc="Sets the window manager name property of the root window"
url="https://tools.suckless.org/x/wmname"
arch="all"
license="MIT"
makedepends="libx11-dev"
source="http://dl.suckless.org/tools/wmname-0.1.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	make
}

package() {
	cd "$builddir"
	make PREFIX=/usr DESTDIR=$pkgdir install
}

md5sums="6903d299f84d335e529fbd2c1d6e49fe  wmname-0.1.tar.gz"
sha256sums="559ad188b2913167dcbb37ecfbb7ed474a7ec4bbcb0129d8d5d08cb9208d02c5  wmname-0.1.tar.gz"
sha512sums="e57100f8de2579f4090c0aaf5a5b134d03bcbcdca5c6d005b12ce39ad322d96651bb13d151cf259e935e6c50e7b21bde43a4eace112be80983a92f92b99f192f  wmname-0.1.tar.gz"
