From 4d39182e541d7f850bd09eb91f36e4d1b4ea86d7 Mon Sep 17 00:00:00 2001 From: John Vogel Date: Sun, 9 Apr 2023 09:01:58 -0400 Subject: local: move aports section into root of repo --- txtw/APKBUILD | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 txtw/APKBUILD (limited to 'txtw/APKBUILD') diff --git a/txtw/APKBUILD b/txtw/APKBUILD new file mode 100644 index 0000000..6966173 --- /dev/null +++ b/txtw/APKBUILD @@ -0,0 +1,28 @@ +# Contributor: John Vogel +# Maintainer: John Vogel +pkgname=txtw +pkgver=0.4 +pkgrel=0 +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" +builddir="$srcdir/txtw-$pkgver" + +build() { + make +} + +package() { + make DESTDIR="$pkgdir" PREFIX=/usr install +} + +sha512sums=" +1f8aca56455172e8e03aab6bf1eccd687f3ef34fcf0b6b2e9dddd9127c946f4d837d6bca58422ff0a956ea09d19fb050ca92a1ba035ce29dc0035ee23ea85d3c txtw-0.4.tar.gz +" -- cgit v1.2.3