blob: 0d6658af449a3094e94b724d3a9f81d71a284708 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Contributor: John Vogel <jvogel4@stny.rr.com>
# Maintainer: John Vogel <jvogel4@stny.rr.com>
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
"
|