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

                                                   

            

                                  
             

                                                               
                                    
        
                                                                            
 




                                     
         
                                     



                                 

                                                       
                        

 








                                     
                                                                                                                                                                             
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=font-adobe-75dpi
pkgver=1.0.3
pkgrel=0
pkgdesc="X.org adobe 75dpi font"
url="http://xorg.freedesktop.org/"
arch="noarch"
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-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="c0d851df5732e81027e265370751a606c6e4f5eea546d802608988dde02de35fa28238f709f48567191090bf18814f671b1a7f9f0b528d54949b0aa9403f266d  font-adobe-75dpi-1.0.3.tar.bz2"