mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-04 20:06:43 +02:00
testing/ttf-opensans: new aport
This commit is contained in:
parent
072234a326
commit
3f0dbb30cd
28
testing/ttf-opensans/APKBUILD
Normal file
28
testing/ttf-opensans/APKBUILD
Normal file
@ -0,0 +1,28 @@
|
||||
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
|
||||
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
|
||||
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"
|
||||
4
testing/ttf-opensans/ttf-opensans.post-install
Normal file
4
testing/ttf-opensans/ttf-opensans.post-install
Normal file
@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
fc-cache -f > /dev/null
|
||||
mkfontscale /usr/share/fonts/TTF
|
||||
mkfontdir /usr/share/fonts/TTF
|
||||
Loading…
x
Reference in New Issue
Block a user