summaryrefslogblamecommitdiff
path: root/user/font-misc-ethiopic/APKBUILD
blob: e04621e66584328ed3f504d904e86c79d4735cbb (plain) (tree)
1
2
3
4
5
6
7
8
9








                                                  

                                                               




























                                                                                      

                                                      


                                                                                                                                                                               
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=font-misc-ethiopic
pkgver=1.0.3
pkgrel=0
pkgdesc="Ethiopic X11 fonts"
url="https://www.X.Org/"
arch="noarch"
license="MIT"
depends="encodings font-alias fontconfig mkfontdir mkfontscale"
makedepends="util-macros"
subpackages=""
source="https://www.x.org/releases/individual/font/font-misc-ethiopic-$pkgver.tar.bz2"

prepare() {
	cd "$builddir"
	default_prepare
	update_config_sub
}

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	cd "$builddir"
	make check
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
	find "$pkgdir" -name fonts.dir -exec rm {} +
	find "$pkgdir" -name fonts.scale -exec rm {} +
}

sha512sums="b3e3f7462f37216796730a894761c7d60d5ede0f51351997e6c3c92e3136c788a2710690f482d05ed1396a4b6be452e1f871febc7e5b7a1a67e43bcc1ec7c77d  font-misc-ethiopic-1.0.3.tar.bz2"