summaryrefslogtreecommitdiff
path: root/extra/libxaw/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/libxaw/PKGBUILD')
-rw-r--r--extra/libxaw/PKGBUILD14
1 files changed, 9 insertions, 5 deletions
diff --git a/extra/libxaw/PKGBUILD b/extra/libxaw/PKGBUILD
index c62004a74..dd88b7c4e 100644
--- a/extra/libxaw/PKGBUILD
+++ b/extra/libxaw/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 106867 2011-01-19 15:23:45Z jgc $
+# $Id: PKGBUILD 151324 2012-02-25 13:52:04Z allan $
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=libxaw
pkgver=1.0.9
-pkgrel=1
+pkgrel=2
pkgdesc="X11 Athena Widget library"
-arch=(i686 x86_64 'mips64el')
+arch=('i686' 'x86_64' 'mips64el')
license=('custom')
url="http://xorg.freedesktop.org/"
depends=('libxmu' 'libxpm')
@@ -18,7 +18,11 @@ build() {
cd "${srcdir}/libXaw-${pkgver}"
./configure --prefix=/usr --sysconfdir=/etc --disable-static
make
+}
+
+package() {
+ cd "${srcdir}/libXaw-${pkgver}"
make DESTDIR="${pkgdir}" install
- install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
- install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
+
+ install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
}