summaryrefslogtreecommitdiff
path: root/extra/xaw3d
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-02-06 23:14:50 +0000
committerroot <root@rshg054.dnsready.net>2012-02-06 23:14:50 +0000
commit1fa6edfba8d1e31ca1c0d59e8202cd3c62ccf393 (patch)
tree8d7ccc2dc9d08a4c3cde26aa01c887e9a0fc2fa1 /extra/xaw3d
parentbdb5b3e66f6afa586ea147f69af5e4ba388f7615 (diff)
Mon Feb 6 23:14:50 UTC 2012
Diffstat (limited to 'extra/xaw3d')
-rw-r--r--extra/xaw3d/PKGBUILD54
1 files changed, 16 insertions, 38 deletions
diff --git a/extra/xaw3d/PKGBUILD b/extra/xaw3d/PKGBUILD
index 8854d9e98..84992447c 100644
--- a/extra/xaw3d/PKGBUILD
+++ b/extra/xaw3d/PKGBUILD
@@ -1,51 +1,29 @@
-# $Id: PKGBUILD 124576 2011-05-23 03:13:29Z eric $
+# $Id: PKGBUILD 148656 2012-02-05 11:45:47Z ibiru $
# Maintainer: Eric BĂ©langer <eric@archlinux.org>
pkgname=xaw3d
-pkgver=1.5E
-pkgrel=3
+pkgver=1.6
+pkgrel=1
pkgdesc="Three-D Athena widgets"
arch=('i686' 'x86_64')
url="http://directory.fsf.org/project/xaw3d/"
license=('MIT')
-depends=('libxmu' 'libxpm')
-makedepends=('imake')
-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
- Xaw3d-1.5-box.c.patch
- Xaw3d-1.5-debian-fixes.patch
- xaw3d.patch
- Xaw3d-1.5E-warnings.patch
- Xaw3d-ia64.patch
- LICENSE)
-md5sums=('29ecfdcd6bcf47f62ecfd672d31269a1'
- '2cca7950cf7d270609bc810b8996f0a9'
- 'e7105bc1452f0c5f5d0bcdcf212aac0c'
- 'c061ab65467766f5817752ef216e3cc2'
- '33bf0f1b52822b7293a3f45474178dfe'
- '5acb23e5a52c75e62a22aef59882df14'
- 'c3aa4cbf95442081e7af810c13306cc9'
- 'f766e8eb6371cbb1f68af4f2932dc118'
- '5b6b0242b3f53b7fe308e702abe28561')
+depends=('libxmu')
+makedepends=('xorg-util-macros')
+options=('!libtool')
+source=(http://xorg.freedesktop.org/archive/individual/lib/libXaw3d-${pkgver}.tar.bz2)
+md5sums=('db88f0c5afc5f285e046d84e15ad30de')
build() {
- cd "${srcdir}/xc/lib/Xaw3d"
- 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
- make CDEBUGFLAGS="${CFLAGS} -DARROW_SCROLLBAR"
+ cd "${srcdir}/libXaw3d-${pkgver}"
+ ./configure --prefix=/usr --disable-static
+ make
}
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"
+ cd "${srcdir}/libXaw3d-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+
+ install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
+ install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
}