1 # Maintainer: thotypous <matiasΘarchlinux-br·org>
6 pkgdesc="Tiling tabbed window manager"
7 url="http://modeemi.fi/~tuomov/ion"
10 depends=('libsm' 'libxext' 'lua>=5.1')
11 makedepends=('libtool' 'sed')
12 install="$pkgname.install"
13 source=("http://archlinux-stuff.googlecode.com/files/$pkgname-$pkgver.tar.gz"
15 md5sums=('1f17be1e87187b4af7de047187cc4930'
16 '07a5d42ef3247b9d842ec0995d232bd7')
20 # Copy building configuration.
21 cp "$srcdir/system.mk" "$srcdir/$pkgname-$pkgver"
22 # Replace the date information in the .install file.
23 _pkgdate="$(echo "$pkgver" | sed 's/\([0-9]\{4\}\)\([0-9]\{2\}\)\([0-9]\{2\}\)/{year=\1, month=\2, day=\3}/')"
24 sed -i "s/_pkgdate='[^']*'/_pkgdate='${_pkgdate}'/" "$pkgname.install"
27 cd "$srcdir/$pkgname-$pkgver"
28 MAKEFLAGS="" make || return 1
29 make PREFIX="$pkgdir/usr" ETCDIR="$pkgdir/etc/ion3" install