summaryrefslogtreecommitdiffstats
path: root/abs/core/libxp/PKGBUILD
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-08-09 00:33:26 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-08-09 00:33:26 (GMT)
commit254cb1ed05fac157113ae75185b0b5633885e7cf (patch)
treeab69db23a27b541551dd44cddfb51edb51490409 /abs/core/libxp/PKGBUILD
parent268f990e6ecac4508d4f6d989b7735aef2c97d4b (diff)
downloadlinhes_pkgbuild-254cb1ed05fac157113ae75185b0b5633885e7cf.zip
linhes_pkgbuild-254cb1ed05fac157113ae75185b0b5633885e7cf.tar.gz
linhes_pkgbuild-254cb1ed05fac157113ae75185b0b5633885e7cf.tar.bz2
libxp 1.0.1
Diffstat (limited to 'abs/core/libxp/PKGBUILD')
-rw-r--r--abs/core/libxp/PKGBUILD29
1 files changed, 17 insertions, 12 deletions
diff --git a/abs/core/libxp/PKGBUILD b/abs/core/libxp/PKGBUILD
index 1812082..5e33fa5 100644
--- a/abs/core/libxp/PKGBUILD
+++ b/abs/core/libxp/PKGBUILD
@@ -1,24 +1,29 @@
-# $Id: PKGBUILD 4458 2008-07-07 16:34:45Z jgc $
+# $Id: PKGBUILD 151429 2012-02-26 10:49:41Z pierre $
#Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=libxp
-pkgver=1.0.0
-pkgrel=2
+pkgver=1.0.1
+pkgrel=3
pkgdesc="X11 X Print Library"
arch=('i686' 'x86_64')
license=('custom')
url="http://xorg.freedesktop.org/"
depends=('libxext' 'printproto')
-makedepends=('pkgconfig')
+makedepends=('xorg-util-macros')
options=('!libtool')
-source=(${url}/releases/individual/lib/libXp-${pkgver}.tar.bz2)
-md5sums=('0f4ac39108c1ae8c443cdfac259b58fa')
+source=("${url}/releases/individual/lib/libXp-${pkgver}.tar.bz2")
+license=('custom')
+sha1sums=('9c76823c7cfcb43f097963d0c930dcc4e38807a8')
build() {
- cd ${srcdir}/libXp-${pkgver}
- ./configure --prefix=/usr || return 1
- make || return 1
- make DESTDIR=${pkgdir} install || return 1
- install -m755 -d ${pkgdir}/usr/share/licenses/${pkgname}
- install -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/ || return 1
+ cd "${srcdir}/libXp-${pkgver}"
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}/libXp-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+ install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
+ install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
}