summaryrefslogblamecommitdiff
path: root/user/font-xfree86-type1/APKBUILD
blob: 66521e717154fc05da38f371fffe8d22831b6c2f (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-xfree86-type1
pkgver=1.0.5
pkgrel=0
pkgdesc="Type 1 X11 fonts from the XFree86 project"
url="https://www.X.Org/"
arch="noarch"
license="X11"
depends="fontconfig mkfontdir mkfontscale"
makedepends="util-macros"
subpackages=""
source="https://www.x.org/releases/individual/font/font-xfree86-type1-$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 {} +
	find "$pkgdir" -name fonts.scale -exec rm {} +
}

sha512sums="0a92d911269c5c4d815dfb617bfcc57c3bd54e4cd308eba87f9ec49851369d99dea61950dbd6cdc0f85db92c0c24055da88063b083b4b0cafb3315051bb650ed  font-xfree86-type1-1.0.5.tar.xz"