# Contributor: Camille Scholtz <onodera@openmailbox.org>
# Maintainer: Camille Scholtz <onodera@openmailbox.org>
pkgname=xtitle
pkgver=0.4.3
pkgrel=0
pkgdesc="outputs X window titles"
url="https://github.com/baskerville/xtitle"
arch="all"
license="unlicense"
depends_dev="xcb-util-wm-dev"
makedepends="$depends_dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/baskerville/$pkgname/archive/$pkgver.tar.gz"

builddir="$srcdir"/$pkgname-$pkgver
build() {
	cd "$builddir"
	make
}

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

sha512sums="2c73bfaa8b9b1533288aadd60e85356a152b1a5503ab744b17bbbf4f52aeb015583a032e0ca05ead517db4284042876a14958bfef80dd10b90360e1a905fae8c  xtitle-0.4.3.tar.gz"
