# Contributor: Michael Pirogov <vbnet.ru@gmail.com>
# Maintainer: Michael Pirogov <vbnet.ru@gmail.com>
pkgname=goomwwm
pkgver=1.0.0
pkgrel=0
pkgdesc="Get out of my way, Window Manager!"
url="https://github.com/seanpringle/goomwwm"
arch="all"
license="MIT"
depends="libxft libx11 libxinerama freetype"
makedepends="libx11-dev libxft-dev freetype-dev libxinerama-dev libx11 libxft pkgconfig xineramaproto xproto"
source="${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz"
builddir="$srcdir/"
_builddir="${builddir}/${pkgname}-${pkgver}"

build() {
	cd "${_builddir}"
	make proto normal
}

check() {
	cd "${_builddir}"
	./${pkgname} --version
}

package() {
	mkdir -p "${pkgdir}"
	install -m755 -D "${_builddir}/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
}

sha512sums="e37d80c8ea47fe136172c392521ec8d4dab361c3469d3d1626ed7c30385513301983c0ffde39f4c2e6f2dee8709da6a34f14f7bb89776f1ccde5103ab1a26764  goomwwm-1.0.0.tar.gz"
