summaryrefslogblamecommitdiff
path: root/user/font-micro-misc/APKBUILD
blob: 7c72642fe71160085f24130b43044504788fe2d1 (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-micro-misc
pkgver=1.0.3
pkgrel=0
pkgdesc="Smol X11 font"
url="https://www.X.Org/"
arch="noarch"
license="Public-Domain"
depends="encodings font-alias fontconfig mkfontdir"
makedepends="bdftopcf util-macros"
subpackages=""
source="https://www.x.org/releases/individual/font/font-micro-misc-$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 {} +
}

sha512sums="7a546432225c22ae0aacf9ce88b617a7d1d6678ee1f5eb4b3a93e33764fb752f27bca3feda1312182517bbf7babd5f3700bb9b8de0ef6c35b1ae6e2ce7ab0b69  font-micro-misc-1.0.3.tar.bz2"