# Maintainer: Carlo Landmeter pkgname=expat pkgver=2.2.2 pkgrel=0 pkgdesc="An XML Parser library written in C" url="http://www.libexpat.org/" arch="all" license='MIT' depends= makedepends= source="http://downloads.sourceforge.net/project/expat/expat/$pkgver/expat-$pkgver.tar.bz2" subpackages="$pkgname-dev $pkgname-doc" builddir="$srcdir/$pkgname-$pkgver" # secfixes: # 2.2.0-r1: # - CVE-2017-9233 build() { cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --mandir=/usr/share/man make } package() { cd "$builddir" make DESTDIR="$pkgdir/" install } sha512sums="05383244f345b1c6a7290f3bb58bfab4da9546bfe880de644e784bcc48bd4317f2beb3fdb6120a5f396e06bb269f7e80713db211346d2d17bc7de3353d556575 expat-2.2.2.tar.bz2"