db-move: moved linux-zen from [testing] to [extra] (x86_64)
[arch-packages.git] / pixman / trunk / PKGBUILD
blob43f89a1fcc630314a4d0b9528ee2829162384965
1 # Maintainer: Andreas Radke <andyrtr@archlinux.org>
2 # Contributor: Jan de Groot <jgc@archlinux.org>
3 # Contributor: Alexander Baldeck <alexander@archlinux.org>
5 pkgname=pixman
6 pkgver=0.42.2
7 pkgrel=1
8 pkgdesc="The pixel-manipulation library for X and cairo"
9 arch=(x86_64)
10 url="https://cgit.freedesktop.org/pixman/"
11 license=('custom')
12 depends=('glibc')
13 makedepends=('meson' 'libpng')
14 provides=('libpixman-1.so')
15 source=(https://xorg.freedesktop.org/releases/individual/lib/${pkgname}-${pkgver}.tar.xz)
16 sha512sums=('3476e2676e66756b1af61b1e532cd80c985c191fb7956eb01702b419726cce99e79163b7f287f74f66414680e7396d13c3fee525cd663f12b6ac4877070ff4e8')
17 #validpgpkeys=('') # Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
19 build() {
20   arch-meson $pkgbase-$pkgver build \
21     -D loongson-mmi=disabled \
22     -D vmx=disabled \
23     -D arm-simd=disabled \
24     -D neon=disabled \
25     -D a64-neon=disabled \
26     -D iwmmxt=disabled \
27     -D mips-dspr2=disabled \
28     -D gtk=disabled
29   ninja -C build
32 check() {
33   meson test -C build
36 package() {
37   DESTDIR="$pkgdir" meson install -C build
38   install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 $pkgname-$pkgver/COPYING