summaryrefslogtreecommitdiff
path: root/community/sawfish/PKGBUILD
blob: be9c48cb1e1f4ff25e0c7038aec8544d7f6d7f0e (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
# $Id: PKGBUILD 42090 2011-03-13 17:55:35Z shusmann $
# Maintainer: stefan-husmann@t-online.de
# Contributor: Juergen Hoetzel <juergen@archlinux.org>

pkgname=sawfish
pkgver=1.8.0
pkgrel=1
pkgdesc="An extensible window manager using a Lisp-based scripting language"
arch=('i686' 'x86_64')
url="http://sawfish.wikia.com/wiki/Main_Page"
license=('GPL')
depends=('rep-gtk' 'libsm' 'hicolor-icon-theme')
install=${pkgname}.install
source=(http://download.tuxfamily.org/${pkgname}/${pkgname}-${pkgver}.tar.xz)
sha1sums=('522beb58635166c17eee3e47e6ebc5a39c22122a')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr --libexecdir=/usr/lib
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install

  install -Dm644 sawfish-session.desktop \
    "${pkgdir}/etc/X11/sessions/${pkgname}.desktop"
}