1 # Provider: realturner < realturner at gmail dot com >
7 pkgdesc="Tiling tabbed window manager, XFT patched version"
8 url="http://modeemi.fi/~tuomov/ion"
11 depends=('libsm' 'libxext' 'lua>=5.1' 'libxft')
12 makedepends=('libtool' 'sed')
15 install="${_pkgname}.install"
16 source=("http://iki.fi/tuomov/dl/${_pkgname}-$pkgver.tar.gz"
18 "xft-ion3-20090110.patch")
19 md5sums=('1f17be1e87187b4af7de047187cc4930'
20 '288ddc4e94f568448fd08a6a6da14cdc'
21 '68f3da20b45ec583347b5325d9062e19')
24 cd "$srcdir/${_pkgname}-$pkgver"
26 patch -Np3 -i ../xft-ion3-20090110.patch
27 # Copy building configuration.
28 cp "$srcdir/system.mk" "$srcdir/${_pkgname}-$pkgver"
29 # Replace the date information in the .install file.
30 _pkgdate="$(echo "$pkgver" | sed 's/\([0-9]\{4\}\)\([0-9]\{2\}\)\([0-9]\{2\}\)/{year=\1, month=\2, day=\3}/')"
31 sed -i "s/_pkgdate='[^']*'/_pkgdate='${_pkgdate}'/" "${_pkgname}.install"
34 cd "$srcdir/${_pkgname}-$pkgver"
35 MAKEFLAGS="" make || return 1
36 make PREFIX="$pkgdir/usr" ETCDIR="$pkgdir/etc/ion3" install