# Contributor: John Vogel # Maintainer: John Vogel pkgname=txtw pkgver=0.4 pkgrel=1 pkgdesc="Return the pixel width for the given strings for the given font" url="https://github.com/baskerville/txtw/" arch="all" license="Unlicense" depends="" makedepends="cairo-dev" options="!check" install="" subpackages="$pkgname-doc" source="https://github.com/baskerville/txtw/archive/$pkgver/txtw-$pkgver.tar.gz 0001-Use-the-proper-type-for-the-return-value-of-getopt.patch " builddir="$srcdir/txtw-$pkgver" build() { make } package() { make DESTDIR="$pkgdir" PREFIX=/usr install } sha512sums=" 1f8aca56455172e8e03aab6bf1eccd687f3ef34fcf0b6b2e9dddd9127c946f4d837d6bca58422ff0a956ea09d19fb050ca92a1ba035ce29dc0035ee23ea85d3c txtw-0.4.tar.gz c0beeca33887708450b149e837d4ae68bfdafd05cbad1184baa42ff8cce655efe8d58a49ab77cfe0946d0cbe5a606b207ae8c006feb824a24e13ee5a4c519f54 0001-Use-the-proper-type-for-the-return-value-of-getopt.patch "