summaryrefslogtreecommitdiffstats
path: root/abs/core/libxpm/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/libxpm/PKGBUILD')
-rw-r--r--abs/core/libxpm/PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/abs/core/libxpm/PKGBUILD b/abs/core/libxpm/PKGBUILD
new file mode 100644
index 0000000..7f05283
--- /dev/null
+++ b/abs/core/libxpm/PKGBUILD
@@ -0,0 +1,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')