summaryrefslogtreecommitdiff
path: root/community/subtle/PKGBUILD
blob: d1eb91627cae9a44256f0752920039f497bb406b (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
31
32
33
34
35
36
37
38
39
# $Id: PKGBUILD 72816 2012-06-22 21:15:04Z arodseth $
# Maintainer: Alexander Rødseth <rodseth@gmail.com>
# Contributor: Angel Velasquez <angvp@archlinux.org> 
# Contributor: unexist <unexist@dorfelite.net>
# Contributor: Abakus <java5@arcor.de>
# Contributor: TDY <tdy@gmx.com>
# Contributor: Xilon <xilonmu@gmail.com>

pkgname=subtle
pkgver=0.11.3224
pkgrel=1
pkgdesc="Grid-based manual tiling window manager"
arch=("i686" "x86_64")
url="http://subtle.subforge.org"
license=("GPL")
depends=("ruby" "libxft" "libxpm" "libxrandr" "libxft" "libxpm" "libxinerama"
         "libxtst")
makedepends=("pkg-config" "libxinerama" "libxrandr" "libxft" "libxpm")
backup=("etc/xdg/subtle/subtle.rb")
install=subtle.install
source=("http://subforge.org/attachments/download/81/$pkgname-$pkgver-xi.tbz2")
sha256sums=('a22ee94a70c1105a018e1c0a754597b4e3a87d1b915301a0b22888920fa0f8a2')

build() {
  cd "$srcdir/$pkgname-$pkgver-xi"

  # use vendor_ruby instead of site_ruby
  sed -e \
    's/RbConfig::CONFIG\["sitelibdir"\]/RbConfig::CONFIG\["vendorlibdir"\]/' \
    -i Rakefile
}

package() {
  cd "$srcdir/$pkgname-$pkgver-xi"

  rake destdir=$pkgdir install 
}

# vim:set ts=2 sw=2 et: