summaryrefslogtreecommitdiff
path: root/user/ttf-terminus/APKBUILD
blob: 69167790b29dd820dfbffff6ab0064b76d55f357 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Contributor: Kiyoshi Aman <adelie@aerdan.vulpine.house>
# Maintainer: Kiyoshi Aman <adelie@aerdan.vulpine.house>
pkgname=ttf-terminus
pkgver=4.47.0
pkgrel=0
pkgdesc="TrueType variant of Terminus Font"
url="https://files.ax86.net/terminus-ttf/"
arch="noarch"
options="!check" # No tests
license="OFL-1.1"
depends="fontconfig"
makedepends=""
source="https://files.ax86.net/terminus-ttf/files/$pkgver/terminus-ttf-$pkgver.zip"
builddir="$srcdir/terminus-ttf-$pkgver"

package() {
	cd "$builddir"
	mkdir -p "$pkgdir"/usr/share/fonts/X11/TTF/${pkgname#*-}
	for i in *.ttf; do
		install -Dm644 "$i" "$pkgdir"/usr/share/fonts/X11/TTF/${pkgname#*-}
	done
}

sha512sums="500e0aa12223f958dd0b00d1637ee26370700f937998335d54bc94528045157c5646ff6a2b35c37b44b765d36ebaf26cbf50458819debd536b29cb393833a584  terminus-ttf-4.47.0.zip"