pkgname=expat
pkgver=2.6.0
pkgrel=2
arch=('armv7h' 'aarch64')
license=('unknown')
depends=(glibc)
provides=(libexpat.so)
source=("$pkgname-$pkgver.tar.xz")
build() {
cd "$pkgname-$pkgver"
./configure --prefix=/usr \
--disable-static \
--docdir=/usr/share/doc/expat-$pkgver
make
}
package() {
cd "$pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
install -v -m644 doc/*.{html,css} "$pkgdir"/usr/share/doc/expat-$pkgver
}
sha256sums=('cb5f5a8ea211e1cabd59be0a933a52e3c02cc326e86a4d387d8d218e7ee47a3e')