archrelease: copy trunk to extra-x86_64
[arch-packages.git] / pixman / repos / extra-x86_64 / PKGBUILD
bloba36460544ddf1f53e4b0dba21f4f43261ae9ba9b
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 options=('debug')
15 provides=('libpixman-1.so')
16 source=(https://xorg.freedesktop.org/releases/individual/lib/${pkgname}-${pkgver}.tar.xz)
17 sha512sums=('3476e2676e66756b1af61b1e532cd80c985c191fb7956eb01702b419726cce99e79163b7f287f74f66414680e7396d13c3fee525cd663f12b6ac4877070ff4e8')
18 #validpgpkeys=('') # Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
20 build() {
21   arch-meson $pkgbase-$pkgver build \
22     -D loongson-mmi=disabled \
23     -D vmx=disabled \
24     -D arm-simd=disabled \
25     -D neon=disabled \
26     -D a64-neon=disabled \
27     -D iwmmxt=disabled \
28     -D mips-dspr2=disabled \
29     -D gtk=disabled
30   ninja -C build
33 check() {
34   meson test -C build
37 package() {
38   DESTDIR="$pkgdir" meson install -C build
39   install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 $pkgname-$pkgver/COPYING