aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/ttf-cantoraone/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'unmaintained/ttf-cantoraone/APKBUILD')
-rw-r--r--unmaintained/ttf-cantoraone/APKBUILD49
1 files changed, 49 insertions, 0 deletions
diff --git a/unmaintained/ttf-cantoraone/APKBUILD b/unmaintained/ttf-cantoraone/APKBUILD
new file mode 100644
index 0000000000..1e9505dd6c
--- /dev/null
+++ b/unmaintained/ttf-cantoraone/APKBUILD
@@ -0,0 +1,49 @@
+# Contributor: Carlo Landmeter <clandmeter@gmail.com>
+# Maintainer:
+pkgname=ttf-cantoraone
+pkgver=1.001
+pkgrel=0
+pkgdesc="Cantora is a friendly semi formal, semi condensed, semi sans serif."
+url="http://www.impallari.com"
+arch="noarch"
+license="OFL"
+depends="fontconfig"
+depends_dev=""
+makedepends="$depends_dev"
+install=""
+subpackages=""
+# added fontconfig configuration from:
+# https://github.com/bohoomil/fontconfig-ultimate/tree/master/fontconfig_patches/fonts-settings
+source="http://googlefontdirectory.googlecode.com/hg/ofl/cantoraone/CantoraOne-Regular.ttf
+ 45-cantoraone.conf
+ 90-tt-cantoraone.conf"
+
+build() {
+ cd "$_builddir"
+}
+
+package() {
+ mkdir -p "$pkgdir"/usr/share/fonts/$pkgname \
+ "$pkgdir"/etc/fonts/conf.avail \
+ "$pkgdir"/etc/fonts/conf.d
+ for i in "$srcdir"/*.ttf; do
+ install -m644 $i \
+ "$pkgdir"/usr/share/fonts/$pkgname/ || return 1
+ done
+ for j in "$srcdir"/*.conf; do
+ install -m644 $j \
+ "$pkgdir"/etc/fonts/conf.avail/ || return 1
+ cd "$pkgdir"/etc/fonts/conf.d
+ ln -sf /etc/fonts/conf.avail/${j##*/}
+ done
+}
+
+md5sums="8363dec7021a33ac3132c341c04d41e1 CantoraOne-Regular.ttf
+8ef656137418c63ef5d41880fe03e994 45-cantoraone.conf
+a03dc1e3c4f5dd75f271e137406a1e3c 90-tt-cantoraone.conf"
+sha256sums="0a41216a2daa8f0fd7e23bc51fefd6bbabe4565db23c4df7d7956e3fc8b8213b CantoraOne-Regular.ttf
+ebde06514c3b69766fc8b8abc0eff6551dc3f06a6a46a2f6a14b2b2b3895336a 45-cantoraone.conf
+2b20f19ba5a2f491c570bd9fef46957a71b57399be95dd17f226b7282550a36a 90-tt-cantoraone.conf"
+sha512sums="05b0c1364a92b436b86ca819e66b63480d1bc2fb399f6c0cf8bffbf8199ccc2a22a199348de099356a6059af533f3dcea817c519b0b237c9a18e92737fe33007 CantoraOne-Regular.ttf
+d2c8393f8cd32896e9fe4e720b018131f9cda1da74523a8ec1253233b2b44e95b471eed3a91a8e3f2680d4cf85eca5ef742ecedecd00e76b4e4ee3bd2c76cafd 45-cantoraone.conf
+2ea75c9ed24cad85fb347899798e8478bc2a55ea9e31169ec35b7ae9ec3f21bff57dc05d8f5e2b572b0a31c08f155e21c0b26789d2d04908c8f0232afb87de95 90-tt-cantoraone.conf"