summaryrefslogtreecommitdiff
path: root/user/otf-office-code-pro/APKBUILD
blob: 0e3592eb864f71eb6fe85d89172c221098055bf8 (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
25
26
27
28
29
# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=otf-office-code-pro
pkgver=1.004
pkgrel=0
pkgdesc="Monospaced font family for programming and console users"
url="https://github.com/nathco/Office-Code-Pro"
arch="noarch"
options="!check"  # No test suite.
license="OFL-1.1"
depends="fontconfig"
makedepends=""
source="https://github.com/nathco/Office-Code-Pro/archive/1.004.zip"
builddir="$srcdir/Office-Code-Pro-$pkgver"

package() {
	mkdir -p "$pkgdir"/usr/share/fonts/X11/OTF/${pkgname#*-}
	cd "$builddir/Fonts/Office Code Pro/OTF"
	for i in *.otf; do
		install -Dm644 "$i" "$pkgdir"/usr/share/fonts/X11/OTF/${pkgname#*-}
	done
	mkdir -p "$pkgdir"/usr/share/fonts/X11/OTF/${pkgname#*-}-d
	cd "$builddir/Fonts/Office Code Pro D/OTF"
	for i in *.otf; do
		install -Dm644 "$i" "$pkgdir"/usr/share/fonts/X11/OTF/${pkgname#*-}-d
	done
}

sha512sums="ad19b5d6c9d5b8a1bd68a943f9a0c7d8b6dd39f0a7ba5b2e0dfc72afc66a3be994e56c683666c232f3fe1246d368f08281219091be68bdf04643408e35a7e1d6  1.004.zip"