aboutsummaryrefslogblamecommitdiffstats
path: root/main/font-bh-type1/APKBUILD
blob: 33c37ca274d2f90d9d4e5e0f54d30a3699fb04bb (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                   

            

                                  
          

                                                               
                                    
        
                                                                           
 




                                     
         
                                     



                                 
                                                       

                                                       
                        








                                     

 


                                                                                                                                                                          
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=font-bh-type1
pkgver=1.0.3
pkgrel=0
pkgdesc="X.org bh Type1 fonts"
url="http://xorg.freedesktop.org/"
arch="all"
license="custom"
depends="encodings font-alias mkfontscale mkfontdir fontconfig"
makedepends="font-util-dev bdftopcf"
install=
source="http://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/Type1 \
		|| return 1
	make || return 1
}

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

md5sums="53ed9a42388b7ebb689bdfc374f96a22  font-bh-type1-1.0.3.tar.bz2"
sha256sums="761455a297486f3927a85d919b5c948d1d324181d4bea6c95d542504b68a63c1  font-bh-type1-1.0.3.tar.bz2"
sha512sums="dc6cfe7d78a549ae5368ddd2bb3edc6746648b32e1f22bce87f6adc0845ef4827cd3b2472d0afa17a16a2c384e84f74f1c7d807510798bc69089920fdc5486da  font-bh-type1-1.0.3.tar.bz2"