summaryrefslogtreecommitdiffstats
path: root/abs/core/libxpm/PKGBUILD
blob: 7f0528312ad2ff9c49fd67dafac7d19b6b6f8d4b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# $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=(i686 x86_64)
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')