summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 16dfd32a99acc2e821986a7b2438e94b698ababe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Maintainer: Brian Bidulock <bidulock@openss7.org>

pkgname=etwm
pkgver=3.8.3
pkgrel=3
pkgdesc="Claude's Tab Window Manager with full ICCCM/EMWH support."
arch=('i686' 'x86_64')		
url="https://github.com/bbidulock/etwm/"
license=('custom:MIT/X Consortium')
depends=('libxinerama' 'libxrandr' 'libxmu' 'libxpm' 'libjpeg')
options=('!emptydirs')
backup=('usr/share/X11/etwm/system.etwmrc')
source=("https://github.com/bbidulock/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.bz2")
md5sums=('0e4122799dc141fe803b8632821377d9')

CFLAGS="${CFLAGS} -fcommon"

build() {
  cd ${pkgname}-${pkgver}
  ./configure --silent --prefix=/usr --sysconfdir=/etc
  make V=0 etwmdir=/usr/share/X11/etwm
}

package() {
  cd ${pkgname}-${pkgver}
  make DESTDIR="$pkgdir" etwmdir=/usr/share/X11/etwm install
  install -Dm0644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
}

# vim:set et sw=2: