summaryrefslogtreecommitdiff
path: root/user/ttf-sudo/APKBUILD
blob: 2061b3e23195e5cccfebb4198bc944d2b07a1106 (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
# Contributor: Sheila Aman <sheila@vulpine.house>
# Maintainer: Sheila Aman <sheila@vulpine.house>
pkgname=ttf-sudo
pkgver=0.50
pkgrel=0
pkgdesc="Monospaced font family for programming and console users"
url="https://www.kutilek.de/sudo-font/"
arch="noarch"
options="!check"  # No test suite.
license="OFL-1.1"
depends="fontconfig"
makedepends="unzip"
source="$pkgname-$pkgver.tar.gz::https://github.com/jenskutilek/sudo-font/archive/v${pkgver}.tar.gz"
builddir="$srcdir/sudo-font-$pkgver/sudo"

package() {
	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="d48020d5261f9b968ad2fc92f88ce4b1482e3b752b33b50452875951b09cd7472d520b60380321af49404de7986b06d6e653017a07e6a8687792f333a96e8532  ttf-sudo-0.50.tar.gz"