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

                                                   

            

                                     
          

                                                               
                                    
        
                                                                           
 




                                     
         
                                     



                                 
                                                       

                                                       
                        








                                     

 


                                                                                                                                                                                 
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=font-bitstream-type1
pkgver=1.0.3
pkgrel=0
pkgdesc="X.org bitstream 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="5e0c9895d69d2632e2170114f8283c11  font-bitstream-type1-1.0.3.tar.bz2"
sha256sums="c6ea0569adad2c577f140328dc3302e729cb1b1ea90cd0025caf380625f8a688  font-bitstream-type1-1.0.3.tar.bz2"
sha512sums="71883f7fc0a68b4fb8ef30b8b8bdfd73ae1194b6d6495abde6c819eef7a91d6365ef1b4cae026d6c3fa7fddecc643b46b7ba1232cec404fcada49a92aaf1af61  font-bitstream-type1-1.0.3.tar.bz2"