summaryrefslogtreecommitdiff
path: root/extra/xaw3d/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/xaw3d/PKGBUILD')
-rw-r--r--extra/xaw3d/PKGBUILD34
1 files changed, 18 insertions, 16 deletions
diff --git a/extra/xaw3d/PKGBUILD b/extra/xaw3d/PKGBUILD
index 7744e668a..931513921 100644
--- a/extra/xaw3d/PKGBUILD
+++ b/extra/xaw3d/PKGBUILD
@@ -1,17 +1,16 @@
-# $Id: PKGBUILD 38896 2009-05-10 18:12:17Z jgc $
-# Maintainer: Eric Belanger <eric@archlinux.org>
-# Contributor: Judd Vinet <jvinet@zeroflux.org>
+# $Id: PKGBUILD 124576 2011-05-23 03:13:29Z eric $
+# Maintainer: Eric BĂ©langer <eric@archlinux.org>
pkgname=xaw3d
pkgver=1.5E
-pkgrel=2
+pkgrel=3
pkgdesc="Three-D Athena widgets"
arch=('i686' 'x86_64' 'mips64el')
url="http://directory.fsf.org/project/xaw3d/"
license=('MIT')
depends=('libxmu' 'libxpm')
makedepends=('imake')
-options=('!makeflags' 'force')
+options=('!makeflags')
source=(ftp://ftp.visi.com/users/hawkeyd/X/Xaw3d-${pkgver}.tar.gz
Xaw3d-1.5E-xorg-imake.patch
Xaw3d-1.5-i18n.patch
@@ -33,17 +32,20 @@ md5sums=('29ecfdcd6bcf47f62ecfd672d31269a1'
build() {
cd "${srcdir}/xc/lib/Xaw3d"
- patch -Np0 -i "${srcdir}/Xaw3d-1.5E-xorg-imake.patch" || return 1
- patch -Np4 -i "${srcdir}/xaw3d.patch" || return 1
- patch -Np4 -i "${srcdir}/Xaw3d-ia64.patch" || return 1
- patch -Np4 -i "${srcdir}/Xaw3d-1.5-i18n.patch" || return 1
- patch -Np4 -i "${srcdir}/Xaw3d-1.5-box.c.patch" || return 1
- patch -Np4 -i "${srcdir}/Xaw3d-1.5-debian-fixes.patch" || return 1
- patch -Np4 -i "${srcdir}/Xaw3d-1.5E-warnings.patch" || return 1
-
+ patch -Np0 -i "${srcdir}/Xaw3d-1.5E-xorg-imake.patch"
+ patch -Np4 -i "${srcdir}/xaw3d.patch"
+ patch -Np4 -i "${srcdir}/Xaw3d-ia64.patch"
+ patch -Np4 -i "${srcdir}/Xaw3d-1.5-i18n.patch"
+ patch -Np4 -i "${srcdir}/Xaw3d-1.5-box.c.patch"
+ patch -Np4 -i "${srcdir}/Xaw3d-1.5-debian-fixes.patch"
+ patch -Np4 -i "${srcdir}/Xaw3d-1.5E-warnings.patch"
ln -s .. X11
- xmkmf || return 1
+ xmkmf
make CDEBUGFLAGS="${CFLAGS} -DARROW_SCROLLBAR"
- make DESTDIR="${pkgdir}" SHLIBDIR=/usr/lib INCDIR=/usr/include install || return 1
- install -D -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" || return 1
+}
+
+package() {
+ cd "${srcdir}/xc/lib/Xaw3d"
+ make DESTDIR="${pkgdir}" SHLIBDIR=/usr/lib INCDIR=/usr/include install
+ install -D -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}