1 # Contributor: Maurizio Porrato <maurizio.porrato@gmail.com>
6 pkgdesc="C/G telnet client that lets you connect to C64 telnet BBS"
8 url="http://www.paradroid.net/cgterm/"
9 license=('custom:cgterm')
11 source=( http://www.paradroid.net/$pkgname/$pkgname-$pkgver.tar.gz
13 md5sums=('5b8f81ea8a2c0612d2998f05fd87ec40'
14 'f616779bd95231a09e3eab03e2f0d3c4')
17 cd "$srcdir/$pkgname-$pkgver"
19 sed -i -e 's/^PREFIX=.*$/PREFIX=\/usr/g' -e 's/-O3 -Wall /-O3 /g' -e 's/mkdir \$(PREFIX)/mkdir -p \$(PREFIX)/g' Makefile
22 make PREFIX="${pkgdir}/usr" install || return 1
23 rmdir $pkgdir/usr/etc || return 1
24 mkdir -p $pkgdir/usr/share/licenses/$pkgname || return 1
25 cp $srcdir/LICENSE $pkgdir/usr/share/licenses/$pkgname/ || return 1
28 # vim:set ts=2 sw=2 et: