Mail archive
alpine-aports

[alpine-aports] [PATCH 1/2] testing/ttf-hack: new aport

From: Ivan Tham <pickfire_at_riseup.net>
Date: Sun, 24 Sep 2017 17:27:12 +0800

http://sourcefoundry.org/hack/
A typeface designed for source code
---
 testing/ttf-hack/APKBUILD | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 testing/ttf-hack/APKBUILD
diff --git a/testing/ttf-hack/APKBUILD b/testing/ttf-hack/APKBUILD
new file mode 100644
index 0000000000..054c851e64
--- /dev/null
+++ b/testing/ttf-hack/APKBUILD
_at_@ -0,0 +1,19 @@
+# Contributor: Ivan Tham <pickfire_at_riseup.net>
+# Maintainer: Ivan Tham <pickfire_at_riseup.net>
+pkgname=ttf-hack
+pkgver=2.020
+pkgrel=0
+pkgdesc="A typeface designed for source code"
+url="http://sourcefoundry.org/hack/"
+arch="all"
+license="OFL"
+depends="fontconfig mkfontscale"
+source="https://github.com/source-foundry/Hack/releases/download/v${pkgver}/Hack-v${pkgver/./_}-ttf.zip"
+builddir="$srcdir/"
+
+package() {
+	mkdir -p "$pkgdir"/usr/share/fonts/$pkgname
+	install -m644 "$srcdir"/*.ttf "$pkgdir"/usr/share/fonts/$pkgname
+}
+
+sha512sums="de3c8e13ace5ee49bb2b5dd331cc3109ad12b762f967c88cdf8f0d1080e5c3cb99d2dffe1c986c9fcc6e46e31c3bc7141cf1c9e1b8430d1ef76a90ab461d1a09  Hack-v2_020-ttf.zip"
-- 
2.14.1
---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Sun Sep 24 2017 - 17:27:12 GMT