mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-27 23:44:04 +00:00
41 lines
1.1 KiB
Bash
41 lines
1.1 KiB
Bash
|
# $Id: PKGBUILD 147073 2012-01-21 15:12:23Z andyrtr $
|
||
|
# Maintainer: Jan de Groot <jgc@archlinux.org>
|
||
|
# Contributor: Alexander Baldeck <alexander@archlinux.org>
|
||
|
|
||
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||
|
# - disable arm extensions that aren't supported, autodetection fails
|
||
|
|
||
|
plugrel=1
|
||
|
|
||
|
pkgname=pixman
|
||
|
pkgver=0.24.2
|
||
|
pkgrel=1
|
||
|
pkgdesc="Pixman library"
|
||
|
arch=(i686 x86_64)
|
||
|
url="http://xorg.freedesktop.org"
|
||
|
license=('custom')
|
||
|
depends=('glibc')
|
||
|
options=('!libtool')
|
||
|
source=(http://xorg.freedesktop.org/releases/individual/lib/${pkgname}-${pkgver}.tar.bz2)
|
||
|
sha1sums=('233eed3cd16ee1b2a842140477503d2c68b74418')
|
||
|
|
||
|
build() {
|
||
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
||
|
[[ $CARCH = "arm" ]] && CONFIG="--disable-arm-simd --disable-arm-neon --disable-arm-iwmmxt"
|
||
|
[[ $CARCH = "armv7h" ]] && CONFIG="--disable-arm-neon --disable-arm-iwmmxt"
|
||
|
./configure --prefix=/usr --disable-static $CONFIG
|
||
|
make
|
||
|
}
|
||
|
|
||
|
check() {
|
||
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
||
|
make check
|
||
|
}
|
||
|
|
||
|
package() {
|
||
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
||
|
make DESTDIR="${pkgdir}" install
|
||
|
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
|
||
|
install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
|
||
|
}
|