# odd numbers rls skip.... pkgname=pixman pkgver=0.43.4 pkgrel=1 pkgdesc="Image processing and manipulation library" arch=('x86_64') url="https://gitlab.freedesktop.org/pixman/pixman" license=('custom') depends=('glibc') makedepends=('meson' 'ninja' 'libpng') options=('!libtool') source=("https://www.x.org/releases/individual/lib/${pkgname}-${pkgver}.tar.xz") sha256sums=('48d8539f35488d694a2fef3ce17394d1153ed4e71c05d1e621904d574be5df19') build() { mkdir -p build cd build meson setup ../${pkgname}-${pkgver} \ --prefix=/usr \ --buildtype=release \ -Dgtk=disabled ninja } check() { cd build meson test } package() { cd build DESTDIR=${pkgdir} ninja install install -m755 -d ${pkgdir}/usr/share/licenses/${pkgname} install -m644 ../${pkgname}-${pkgver}/COPYING ${pkgdir}/usr/share/licenses/${pkgname}/ }