diff options
Diffstat (limited to 'extra/xorg-twm')
-rw-r--r-- | extra/xorg-twm/PKGBUILD | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/extra/xorg-twm/PKGBUILD b/extra/xorg-twm/PKGBUILD index 472672da3..8b6495b8e 100644 --- a/extra/xorg-twm/PKGBUILD +++ b/extra/xorg-twm/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 193939 2013-09-07 07:11:31Z lcarlier $ -# Maintainer: Alexander Baldeck <alexander@archlinux.org> +# $Id: PKGBUILD 218220 2014-07-27 10:14:40Z andyrtr $ +# Maintainer: AndyRTR <andyrtr@archlinux.org> # Contributor: Jan de Groot <jgc@archlinux.org> pkgname=xorg-twm pkgver=1.0.8 -pkgrel=1 +pkgrel=2 pkgdesc="Tab Window Manager for the X Window System" arch=(i686 x86_64) url="http://xorg.freedesktop.org/" @@ -12,19 +12,24 @@ backup=(etc/X11/twm/system.twmrc) license=('custom') depends=('libxmu') makedepends=('xorg-util-macros') +options=('!emptydirs') source=(${url}/releases/individual/app/twm-${pkgver}.tar.bz2) sha256sums=('7660352353d632127ff50390991706aa660b28a4ada816c2582ac02720722e44') build() { - cd "${srcdir}/twm-${pkgver}" + cd twm-${pkgver} ./configure --prefix=/usr make } package() { - cd "${srcdir}/twm-${pkgver}" + cd twm-${pkgver} make DESTDIR="${pkgdir}" install + + # fix config file location install -m755 -d "${pkgdir}/etc/X11/twm" install -m644 src/system.twmrc "${pkgdir}/etc/X11/twm/" + rm $pkgdir/usr/share/X11/twm/system.twmrc + install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING" } |