From e63b0b53e0b14ee52367241e1f544690f27cd35a Mon Sep 17 00:00:00 2001 From: Carlo Landmeter Date: Sun, 14 Jun 2015 13:19:42 +0200 Subject: testing/otf-oswald: new aport --- testing/otf-oswald/45-oswald.conf | 12 +++++++ testing/otf-oswald/90-non-tt-oswald.conf | 23 +++++++++++++ testing/otf-oswald/APKBUILD | 55 ++++++++++++++++++++++++++++++++ 3 files changed, 90 insertions(+) create mode 100644 testing/otf-oswald/45-oswald.conf create mode 100644 testing/otf-oswald/90-non-tt-oswald.conf create mode 100644 testing/otf-oswald/APKBUILD (limited to 'testing/otf-oswald') diff --git a/testing/otf-oswald/45-oswald.conf b/testing/otf-oswald/45-oswald.conf new file mode 100644 index 0000000000..aa909676e1 --- /dev/null +++ b/testing/otf-oswald/45-oswald.conf @@ -0,0 +1,12 @@ + + + + + + Oswald + + fantasy + + + + diff --git a/testing/otf-oswald/90-non-tt-oswald.conf b/testing/otf-oswald/90-non-tt-oswald.conf new file mode 100644 index 0000000000..2858a3da3b --- /dev/null +++ b/testing/otf-oswald/90-non-tt-oswald.conf @@ -0,0 +1,23 @@ + + + + + + + Oswald + + + true + + + hintslight + + + true + + + true + + + + diff --git a/testing/otf-oswald/APKBUILD b/testing/otf-oswald/APKBUILD new file mode 100644 index 0000000000..aa67b96220 --- /dev/null +++ b/testing/otf-oswald/APKBUILD @@ -0,0 +1,55 @@ +# Contributor: Carlo Landmeter +# Maintainer: +pkgname=otf-oswald +pkgver=3.0 +_hash=9dd0521c8c06dd24998fe5d9cd644dab9cbbacca +pkgrel=0 +pkgdesc="Oswald is a reworking of the classic Gothic and Grotesque type styles." +url="http://oswaldfont.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="$pkgname-$pkgver.tar.gz::https://github.com/vernnobile/OswaldFont/archive/$_hash.tar.gz + 45-oswald.conf + 90-non-tt-oswald.conf" + +_builddir="$srcdir"/OswaldFont-$_hash/3.0 + +build() { + cd "$_builddir" +} + +package() { + cd "$_builddir" + mkdir -p "$pkgdir"/usr/share/fonts/$pkgname \ + "$pkgdir"/etc/fonts/conf.avail \ + "$pkgdir"/etc/fonts/conf.d + + install -m644 Italic/*/src/*.otf \ + "${pkgdir}"/usr/share/fonts/"${pkgname}" || return 1 + install -m644 Roman/*/src/*.otf \ + "${pkgdir}"/usr/share/fonts/"${pkgname}" || return 1 + + 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="55d151288b5f20ae263b39181dc957f8 otf-oswald-3.0.tar.gz +3abe7ce6d6444a06b49735ac94523666 45-oswald.conf +68374ff2058339aac6235774abc1134f 90-non-tt-oswald.conf" +sha256sums="a4924d1ca5c894a390cf255ca4ba1a74718ff0b718e742bc8737367cbed022fa otf-oswald-3.0.tar.gz +0e26f5ca0f056339cef370a5b62f81fccd426957f7456f271c3d1fabe83fba0b 45-oswald.conf +e16f4e34197563187d755bab934644fceebd6ac961d303fbb3c6f4e8c7265a04 90-non-tt-oswald.conf" +sha512sums="a8050eb01e3aa8ab35de9b782434aa9bd6213dd3e9cf5f5b89d50ed11639da38aec9cc69f2362ff9c8d9071add6fc5831dc8b0d25a0d426c4041c95f9dd86564 otf-oswald-3.0.tar.gz +73b1be04339ead8d22000a48180a74fdcc324dbe5f5dc9fb832c76304eaaa6473865c15d5243c6f4abf71a85d16cb042a3c4f8ae9426753cd24c7c5b8d21a603 45-oswald.conf +24921f12096b08764e9ee31de66f0a36f74a32a0b38a754c646a5d87f1ce5911fddd88db08c1e5b22632802b369854701925f312aaca241fe9bfdef20f00d3b1 90-non-tt-oswald.conf" -- cgit v1.2.3