diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2016-12-15 07:54:33 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2016-12-15 07:54:33 +0000 |
commit | 3f0dbb30cd71facbc26835998bd082e970c0a461 (patch) | |
tree | fa8c21340aa2f7614f1eba7a8fe7b9526a722e2d | |
parent | 072234a32659cc78375e5e10d7c884a541282e13 (diff) | |
download | alpine_aports-3f0dbb30cd71facbc26835998bd082e970c0a461.tar.bz2 alpine_aports-3f0dbb30cd71facbc26835998bd082e970c0a461.tar.xz alpine_aports-3f0dbb30cd71facbc26835998bd082e970c0a461.zip |
testing/ttf-opensans: new aport
-rw-r--r-- | testing/ttf-opensans/APKBUILD | 28 | ||||
-rw-r--r-- | testing/ttf-opensans/ttf-opensans.post-install | 4 |
2 files changed, 32 insertions, 0 deletions
diff --git a/testing/ttf-opensans/APKBUILD b/testing/ttf-opensans/APKBUILD new file mode 100644 index 0000000000..d2adf0781d --- /dev/null +++ b/testing/ttf-opensans/APKBUILD | |||
@@ -0,0 +1,28 @@ | |||
1 | # Contributor: Francesco Colista <fcolista@alpinelinux.org> | ||
2 | # Maintainer: Francesco Colista <fcolista@alpinelinux.org> | ||
3 | pkgname=ttf-opensans | ||
4 | pkgver=1.10 | ||
5 | pkgrel=0 | ||
6 | pkgdesc="Open Sans is a humanist sans serif typeface designed by Steve Matteson" | ||
7 | url="http://opensans.com/" | ||
8 | arch="noarch" | ||
9 | license="Apache" | ||
10 | depends="fontconfig mkfontdir mkfontscale" | ||
11 | makedepends="font-util-dev" | ||
12 | install="$pkgname.post-install" | ||
13 | source="http://ie.archive.ubuntu.com/ftp.frugalware.org/pub/frugalware/frugalware-current/source/xlib-extra/open-sans/$pkgname-$pkgver.zip" | ||
14 | builddir="$srcdir" | ||
15 | |||
16 | build() { | ||
17 | cd "$builddir" | ||
18 | return 0 | ||
19 | } | ||
20 | |||
21 | package() { | ||
22 | cd "$builddir" | ||
23 | install -d "$pkgdir/usr/share/fonts/TTF" | ||
24 | install -m644 *.ttf "$pkgdir/usr/share/fonts/TTF/" | ||
25 | } | ||
26 | md5sums="bfe34b6473988efb5de7cf226975249f ttf-opensans-1.10.zip" | ||
27 | sha256sums="f14979b4a358311e51da601a2debb7f21a639912fa06d88825056c41d792871e ttf-opensans-1.10.zip" | ||
28 | sha512sums="6e14d6bc8ed225d04016c237a43909032aae434111bd21b9e4a0889fa84b1dc6d4487d8c465f53308523ee93e7f45cf1f2e78a0db6c64b9a5d7f13a6b2579688 ttf-opensans-1.10.zip" | ||
diff --git a/testing/ttf-opensans/ttf-opensans.post-install b/testing/ttf-opensans/ttf-opensans.post-install new file mode 100644 index 0000000000..984457d3e1 --- /dev/null +++ b/testing/ttf-opensans/ttf-opensans.post-install | |||
@@ -0,0 +1,4 @@ | |||
1 | #!/bin/sh | ||
2 | fc-cache -f > /dev/null | ||
3 | mkfontscale /usr/share/fonts/TTF | ||
4 | mkfontdir /usr/share/fonts/TTF | ||