summaryrefslogblamecommitdiff
path: root/user/font-jis-misc/APKBUILD
blob: bac5e655a0881107499c0febbd3bc5df118230c9 (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-jis-misc
pkgver=1.0.4
pkgrel=0
pkgdesc="Japanese Industrial Standard X11 fonts"
url="https://www.X.Org/"
arch="noarch"
license="Public-Domain"
depends="encodings font-alias fontconfig mkfontscale"
makedepends="bdftopcf util-macros"
subpackages=""
source="https://www.x.org/releases/individual/font/font-jis-misc-$pkgver.tar.xz"

prepare() {
	default_prepare
	update_config_sub
}

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

check() {
	make check
}

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

sha512sums="c54034205e7bd7a01b311c25c890f9fd1abc25f842315812d5c83d4e4091e5e6c2125a43d4d532b88c79d51cb812b86cfa8e7e4c1a87175746f1bd4e38129440  font-jis-misc-1.0.4.tar.xz"