aboutsummaryrefslogblamecommitdiffstats
path: root/main/font-bh-75dpi/APKBUILD
blob: 01802d809532b8cb8f9d30d2a18a05d018b06e01 (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                   

            

                                             
          

                                                               
                                    
        
                                                                            
 




                                     
         
                                     



                                 
                                                       

                                                       
                        

 








                                     
                                                                                                                                                                          
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=font-bh-75dpi
pkgver=1.0.3
pkgrel=0
pkgdesc="X.Org Bigelow & Holmes bitmap fonts"
url="http://xorg.freedesktop.org/"
arch="all"
license="custom"
depends="encodings font-alias mkfontscale mkfontdir fontconfig"
makedepends="font-util-dev bdftopcf"
install=
source="https://www.x.org/releases/individual/font/$pkgname-$pkgver.tar.bz2"

prepare() {
	cd "$srcdir"/$pkgname-$pkgver
	update_config_sub || return 1
}

build() {
	cd "$srcdir"/$pkgname-$pkgver
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--with-mapfiles=/usr/share/fonts/util \
		--with-fontdir=/usr/share/fonts/75dpi \
		|| return 1
	make || return 1
}

package() {
	cd "$srcdir"/$pkgname-$pkgver
	make -j1 DESTDIR="$pkgdir" \
		MKFONTDIR=: \
		MKFONTSCALE=: \
		FCCACHE=: \
		install || return 1
}

sha512sums="fb19c7fe91b6cc0670b01d5b8165075866ad08796293650d6037d79211ca668decdcc1b3684774907c06073145919655690d78ccdcf2511db38b5879328a9f50  font-bh-75dpi-1.0.3.tar.bz2"