1 # Maintainer: Dave Reisner <d@falconindy.com>
6 pkgdesc="a portable, minimal VT100-like terminal emulator with maximal Unicode support"
8 url="http://www.etalabs.net/uuterm.html"
10 depends=('libx11' 'ncurses')
11 makedepends=('subversion' 'sh')
14 install=uuterm.install
16 _svntrunk=svn://svn.mplayerhq.hu/uuterm/trunk/
22 if [[ -d $_svnmod/.svn ]]; then
23 cd $_svnmod && svn up -r $pkgver
25 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
28 msg "SVN checkout done or server timeout"
29 msg "Starting make..."
31 rm -rf "$srcdir/$_svnmod-build"
32 cp -r "$srcdir/$_svnmod" "$srcdir/$_svnmod-build"
33 cd "$srcdir/$_svnmod-build"
36 for flags in {C,LD}FLAGS; do
37 [[ ${!flags} ]] && printf '%s = %s\n' "$flags" "${!flags}"
40 # default target only builds uuterm-x11
45 cd "$srcdir/$_svnmod-build"
48 install -dm755 "$pkgdir/usr/share/terminfo"
49 tic -o "$pkgdir/usr/share/terminfo" uuterm.ti
51 # ucf is the new hotness
52 install -Dm644 ytty/ytty.ucf "$pkgdir/usr/share/fonts/ucf/ytty.ucf"
54 install -Dm755 uuterm-x11 "$pkgdir/usr/bin/uuterm-x11"
55 install -Dm755 uuterm-fb "$pkgdir/usr/bin/uuterm-fb"
57 install -Dm644 COPYING "$pkgdir/usr/share/licenses/uuterm/COPYING"