summaryrefslogtreecommitdiff
path: root/user/ttf-sudo/APKBUILD
blob: c92b41be56b727946e2b3443ecde06fb94430591 (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-sudo
pkgver=0.40
pkgrel=0
pkgdesc="Monospaced font family for programming and console users"
url="https://www.kutilek.de/sudo-font/"
arch="noarch"
options="!check" # No tests
license="OFL-1.1"
depends="fontconfig"
makedepends=""
source="https://github.com/jenskutilek/sudo-font/releases/download/v$pkgver/sudo.zip"
builddir="$srcdir/sudo"

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="c585866ff72bf94ed4bd452a238bfd7d603c813b9105d0d57f1c91dc5c14d5bbee6f8707497a1644b5be1657d81f6a337fc4f16a79ddad519d208c7c03a2f045  sudo.zip"