aboutsummaryrefslogblamecommitdiffstats
path: root/main/font-mutt-misc/APKBUILD
blob: f80f6932a602ebe36196af90d74248d2bf589fde (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="http://xorg.freedesktop.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
}

md5sums="56b0296e8862fc1df5cdbb4efe604e86  font-mutt-misc-1.0.3.tar.bz2"
sha256sums="bd5f7adb34367c197773a9801df5bce7b019664941900b2a31fbfe1ff2830f8f  font-mutt-misc-1.0.3.tar.bz2"
sha512sums="7b152f6c1464d806b1f76664d9b619858c3cb3ea63027b6be1f69897e939e3a0b5312ddf230e0a42a8f3e3701e50f41917cac6ce566c05bc74dfa49bdf2ed4db  font-mutt-misc-1.0.3.tar.bz2"