# Maintainer: Natanael Copa pkgname=libxpresent pkgver=1.0.0 pkgrel=0 pkgdesc="A Xlib-compatible API for the Present extension" url="http://xorg.freedesktop.org/" arch="all" license="MIT" options="!check" # No test suite. depends= makedepends="xorgproto libx11-dev libxext-dev libxfixes-dev libxrandr-dev util-macros" subpackages="$pkgname-dev $pkgname-doc" source="https://www.x.org/releases/individual/lib/libXpresent-$pkgver.tar.bz2" builddir="$srcdir"/libXpresent-$pkgver build() { cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var make } package() { cd "$builddir" make DESTDIR="$pkgdir" install } sha512sums="e88b4ec4fcbc0417a0cbecc0ecd73f8085c496dc6d1a4902b6550750a69a1cb8bb76c436c7941ee3bf3c61ffc85bbd8f8327fca30f14815dbef1cd53bb8db16b libXpresent-1.0.0.tar.bz2"