archrelease: copy trunk to extra-x86_64
[arch-packages.git] / pixman / repos / extra-x86_64 / PKGBUILD
blob8b6041b651d1167605947f0262e0ac04581afee5
1 # Maintainer: Jan de Groot <jgc@archlinux.org>
2 # Maintainer: Andreas Radke <andyrtr@archlinux.org>
3 # Contributor: Alexander Baldeck <alexander@archlinux.org>
5 pkgname=pixman
6 pkgver=0.40.0
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=('8a60edb113d68791b41bd90b761ff7b3934260cb3dada3234c9351416f61394e4157353bc4d61b8f6c2c619de470f6feefffb4935bfcf79d291ece6285de7270')
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 iwmmxt=disabled \
26     -D mips-dspr2=disabled \
27     -D gtk=disabled
28   ninja -C build
31 check() {
32   meson test -C build
35 package() {
36   DESTDIR="$pkgdir" meson install -C build
37   install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 $pkgname-$pkgver/COPYING