aboutsummaryrefslogblamecommitdiffstats
path: root/main/font-mutt-misc/APKBUILD
blob: 3a5560df0f589528f4e38e9f46363f6cd1f5e93d (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                   

            

                                  
          

                                                               
                                    
        
                                                                            
 




                                     
         
                                     



                                 
                                                       

                                                      
                        

 








                                     
                                                                                                                                                                           
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=font-mutt-misc
pkgver=1.0.3
pkgrel=0
pkgdesc="X.org misc font"
url="http://xorg.freedesktop.org/"
arch="all"
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-mapfiles=/usr/share/fonts/util \
		--with-fontdir=/usr/share/fonts/misc \
		|| return 1
	make || return 1
}

package() {
	cd "$srcdir"/$pkgname-$pkgver
	make -j1 DESTDIR="$pkgdir" \
		MKFONTDIR=: \
		MKFONTSCALE=: \
		FCCACHE=: \
		install || return 1
}

sha512sums="7b152f6c1464d806b1f76664d9b619858c3cb3ea63027b6be1f69897e939e3a0b5312ddf230e0a42a8f3e3701e50f41917cac6ce566c05bc74dfa49bdf2ed4db  font-mutt-misc-1.0.3.tar.bz2"