From 0d4667363c89e53a83538d90acdc612739d061db Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Fri, 15 Sep 2017 12:43:13 +0000 Subject: community/ttf-opensans: move from testing needed by chromium for headless --- community/ttf-opensans/APKBUILD | 28 ++++++++++++++++++++++++ community/ttf-opensans/ttf-opensans.post-install | 4 ++++ testing/ttf-opensans/APKBUILD | 28 ------------------------ testing/ttf-opensans/ttf-opensans.post-install | 4 ---- 4 files changed, 32 insertions(+), 32 deletions(-) create mode 100644 community/ttf-opensans/APKBUILD create mode 100644 community/ttf-opensans/ttf-opensans.post-install delete mode 100644 testing/ttf-opensans/APKBUILD delete mode 100644 testing/ttf-opensans/ttf-opensans.post-install diff --git a/community/ttf-opensans/APKBUILD b/community/ttf-opensans/APKBUILD new file mode 100644 index 0000000000..d2adf0781d --- /dev/null +++ b/community/ttf-opensans/APKBUILD @@ -0,0 +1,28 @@ +# Contributor: Francesco Colista +# Maintainer: Francesco Colista +pkgname=ttf-opensans +pkgver=1.10 +pkgrel=0 +pkgdesc="Open Sans is a humanist sans serif typeface designed by Steve Matteson" +url="http://opensans.com/" +arch="noarch" +license="Apache" +depends="fontconfig mkfontdir mkfontscale" +makedepends="font-util-dev" +install="$pkgname.post-install" +source="http://ie.archive.ubuntu.com/ftp.frugalware.org/pub/frugalware/frugalware-current/source/xlib-extra/open-sans/$pkgname-$pkgver.zip" +builddir="$srcdir" + +build() { + cd "$builddir" + return 0 +} + +package() { + cd "$builddir" + install -d "$pkgdir/usr/share/fonts/TTF" + install -m644 *.ttf "$pkgdir/usr/share/fonts/TTF/" +} +md5sums="bfe34b6473988efb5de7cf226975249f ttf-opensans-1.10.zip" +sha256sums="f14979b4a358311e51da601a2debb7f21a639912fa06d88825056c41d792871e ttf-opensans-1.10.zip" +sha512sums="6e14d6bc8ed225d04016c237a43909032aae434111bd21b9e4a0889fa84b1dc6d4487d8c465f53308523ee93e7f45cf1f2e78a0db6c64b9a5d7f13a6b2579688 ttf-opensans-1.10.zip" diff --git a/community/ttf-opensans/ttf-opensans.post-install b/community/ttf-opensans/ttf-opensans.post-install new file mode 100644 index 0000000000..984457d3e1 --- /dev/null +++ b/community/ttf-opensans/ttf-opensans.post-install @@ -0,0 +1,4 @@ +#!/bin/sh +fc-cache -f > /dev/null +mkfontscale /usr/share/fonts/TTF +mkfontdir /usr/share/fonts/TTF diff --git a/testing/ttf-opensans/APKBUILD b/testing/ttf-opensans/APKBUILD deleted file mode 100644 index d2adf0781d..0000000000 --- a/testing/ttf-opensans/APKBUILD +++ /dev/null @@ -1,28 +0,0 @@ -# Contributor: Francesco Colista -# Maintainer: Francesco Colista -pkgname=ttf-opensans -pkgver=1.10 -pkgrel=0 -pkgdesc="Open Sans is a humanist sans serif typeface designed by Steve Matteson" -url="http://opensans.com/" -arch="noarch" -license="Apache" -depends="fontconfig mkfontdir mkfontscale" -makedepends="font-util-dev" -install="$pkgname.post-install" -source="http://ie.archive.ubuntu.com/ftp.frugalware.org/pub/frugalware/frugalware-current/source/xlib-extra/open-sans/$pkgname-$pkgver.zip" -builddir="$srcdir" - -build() { - cd "$builddir" - return 0 -} - -package() { - cd "$builddir" - install -d "$pkgdir/usr/share/fonts/TTF" - install -m644 *.ttf "$pkgdir/usr/share/fonts/TTF/" -} -md5sums="bfe34b6473988efb5de7cf226975249f ttf-opensans-1.10.zip" -sha256sums="f14979b4a358311e51da601a2debb7f21a639912fa06d88825056c41d792871e ttf-opensans-1.10.zip" -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 deleted file mode 100644 index 984457d3e1..0000000000 --- a/testing/ttf-opensans/ttf-opensans.post-install +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -fc-cache -f > /dev/null -mkfontscale /usr/share/fonts/TTF -mkfontdir /usr/share/fonts/TTF -- cgit v1.2.3