diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2017-11-18 11:10:38 +0100 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2017-11-18 11:10:38 +0100 |
commit | f3f91a394ca194d21d099e2e5171033708cf364f (patch) | |
tree | 42902eb61b1b7f75548aea711c7114e9670ffee2 /community/font-bakoma | |
parent | 6004f0fe5401dc731a2dbc0e63b03aad253a5044 (diff) | |
download | aports-f3f91a394ca194d21d099e2e5171033708cf364f.tar.bz2 aports-f3f91a394ca194d21d099e2e5171033708cf364f.tar.xz |
community/font-bakoma: move from testing
Diffstat (limited to 'community/font-bakoma')
-rw-r--r-- | community/font-bakoma/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/community/font-bakoma/APKBUILD b/community/font-bakoma/APKBUILD new file mode 100644 index 0000000000..8134c19a80 --- /dev/null +++ b/community/font-bakoma/APKBUILD @@ -0,0 +1,41 @@ +# Contributor: Jakub Jirutka <jakub@jirutka.cz> +# Maintainer: Jakub Jirutka <jakub@jirutka.cz> +pkgname=font-bakoma +pkgver=1 +pkgrel=0 +pkgdesc="Computer Modern fonts" +url="https://ctan.org/tex-archive/fonts/cm/ps-type1/bakoma" +arch="noarch" +license="custom" +depends="fontconfig $pkgname-ttf" +subpackages="$pkgname-doc $pkgname-otf $pkgname-ttf" +source="http://mirrors.ctan.org/fonts/cm/ps-type1/bakoma.zip" +builddir="$srcdir/bakoma" +options="!check" # fonts don't have tests + +_fontsdir="usr/share/fonts/bakoma" + +package() { + cd "$builddir" + + install -D -m 644 LICENCE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + + mkdir -p "$pkgdir"/usr/share/doc/$pkgname + cp BaKoMa-*.Fonts README.news "$pkgdir"/usr/share/doc/$pkgname/ +} + +otf() { + pkgdesc="$pkgdesc in OpenType format" + + mkdir -p "$subpkgdir"/$_fontsdir + cp "$builddir"/otf/* "$subpkgdir"/$_fontsdir/ +} + +ttf() { + pkgdesc="$pkgdesc in TrueType format" + + mkdir -p "$subpkgdir"/$_fontsdir + cp "$builddir"/ttf/* "$subpkgdir"/$_fontsdir/ +} + +sha512sums="dc38832f77d4d2daa275b046310f9b263b46a24c884402a113a3ef83ee7514c55a76b7cd299e811ace88c6f9c68ef5705b1846d42522304660d7fede348a3d6f bakoma.zip" |