aboutsummaryrefslogblamecommitdiffstats
path: root/main/libxft/APKBUILD
blob: 60a72ce1a341045c4fc4bae3fb1a33292e7fdf9c (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                   

            

                                                   
                 

                                       
        


                                                                                   
 




                                             



                                   


                                                                            
                                                                
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libxft
pkgver=2.2.0
pkgrel=0
pkgdesc="FreeType-based font drawing library for X"
url="http://xorg.freedesktop.org/"
arch="x86 x86_64"
license="custom"
subpackages="$pkgname-dev $pkgname-doc"
depends=
makedepends="pkgconfig fontconfig-dev libxrender-dev freetype-dev"
source="http://xorg.freedesktop.org/releases/individual/lib/libXft-$pkgver.tar.bz2"
depends_dev="xproto libxrender-dev fontconfig-dev freetype-dev"

build () {
	cd "$srcdir"/libXft-$pkgver
	./configure --prefix=/usr \
		--sysconfdir=/etc || return 1
	make || return 1
}

package() {
	cd "$srcdir"/libXft-$pkgver
	make DESTDIR="$pkgdir" install || return 1
	install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}
md5sums="cce3c327258116493b753f157e0360c7  libXft-2.2.0.tar.bz2"