PKGBUILDs/extra/xorg-twm/PKGBUILD
2009-10-09 21:23:22 -05:00

26 lines
930 B
Bash

# $Id: PKGBUILD 36509 2009-04-24 01:26:09Z eric $
# Maintainer: Alexander Baldeck <alexander@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>
pkgname=xorg-twm
pkgver=1.0.4
pkgrel=3
pkgdesc="Tab Window Manager for the X Window System"
arch=(i686 x86_64)
url="http://xorg.freedesktop.org/"
backup=(etc/X11/twm/system.twmrc)
license=('custom')
depends=('libxmu')
makedepends=('pkgconfig')
groups=('xorg')
source=(${url}/releases/individual/app/twm-${pkgver}.tar.bz2 LICENSE)
md5sums=('0865e14c73c08fa8c501ae877298ee9f' '5c4d86c1fc04aa595d9b6bf1c20d7023')
build() {
cd "${srcdir}/twm-${pkgver}"
./configure --prefix=/usr || return 1
make || return 1
make DESTDIR="${pkgdir}" install || return 1
install -m755 -d "${pkgdir}/etc/X11/twm"
install -m644 src/system.twmrc "${pkgdir}/etc/X11/twm/" || return 1
install -D -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" || return 1
}