summaryrefslogblamecommitdiff
path: root/user/font-dec-misc/APKBUILD
blob: 003b51a9887367678897afa12683d3d4f73ddf69 (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-dec-misc
pkgver=1.0.4
pkgrel=0
pkgdesc="X11 fonts from Digital"
url="https://www.X.Org/"
arch="noarch"
license="X11"
depends="encodings font-alias fontconfig mkfontscale"
makedepends="bdftopcf util-macros"
subpackages=""
source="https://www.x.org/releases/individual/font/font-dec-misc-$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 {} +
}

sha512sums="bf6c0e4924835346f1f7913a04fa3903a7c55d292317526dd8eaa799dfb3b52eb2157c34692d659b41a18123af8389785dcb4aa0c31fc387cb368642801c3335  font-dec-misc-1.0.4.tar.xz"