PKGBUILDs/extra/libxpm/PKGBUILD
2009-09-26 09:35:50 -05:00

26 lines
832 B
Bash

# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
# Maintainer: Alexander Baldeck <alexander@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>
pkgname=libxpm
pkgver=3.5.7
pkgrel=1
pkgdesc="X11 pixmap library"
arch=(arm)
license=('custom:BELL')
url="http://xorg.freedesktop.org/"
depends=('libxt' 'libxext')
makedepends=('pkgconfig')
options=('!libtool')
source=(${url}/releases/individual/lib/libXpm-${pkgver}.tar.bz2)
build() {
cd ${startdir}/src/libXpm-${pkgver}
./configure --prefix=/usr --sysconfdir=/etc \
--host=${CHOST} --build=${CHOST}
make || return 1
make DESTDIR=${startdir}/pkg install || return 1
install -D -m644 ${startdir}/src/libXpm-${pkgver}/COPYING \
${startdir}/pkg/usr/share/licenses/${pkgname}/license.txt
}
md5sums=('cd15ee542d9f515538b4462a6f79d977')