summaryrefslogblamecommitdiff
path: root/user/font-bitstream-type1/APKBUILD
blob: cf4d86d6dc381adaeac97a905e0977c47f8ffdd9 (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-bitstream-type1
pkgver=1.0.3
pkgrel=0
pkgdesc="Type 1 X11 fonts from Bitstream"
url="https://www.X.Org/"
arch="noarch"
license="MIT"
depends="fontconfig mkfontscale"
makedepends="util-macros"
subpackages=""
source="https://www.x.org/releases/individual/font/font-bitstream-type1-$pkgver.tar.bz2"

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="71883f7fc0a68b4fb8ef30b8b8bdfd73ae1194b6d6495abde6c819eef7a91d6365ef1b4cae026d6c3fa7fddecc643b46b7ba1232cec404fcada49a92aaf1af61  font-bitstream-type1-1.0.3.tar.bz2"