1 # Maintainer: Devin J. Pohly <djpohly+arch@gmail.com>
5 pkgdesc="Text Editor and COrrector implementation by Tom Almy"
8 url="http://almy.us/teco.html"
11 source=("http://almy.us/files/${pkgname}linux$pkgver.tar.gz")
12 md5sums=('4667649cd858d8b1acc60024e38a7d70')
15 cd "$srcdir/$pkgname$pkgver/src"
20 cd "$srcdir/$pkgname$pkgver"
22 install -D src/tecoc "$pkgdir/usr/bin/tecoc"
23 ln -s tecoc "$pkgdir/usr/bin/Make"
24 ln -s tecoc "$pkgdir/usr/bin/inspect"
25 ln -s tecoc "$pkgdir/usr/bin/mung"
26 ln -s tecoc "$pkgdir/usr/bin/teco"
27 install -d "$pkgdir/usr/share/licenses/$pkgname/"
28 sed '/tomalmy/q' doc/readme.1st > "$pkgdir/usr/share/licenses/$pkgname/license.txt"
29 install -d "$pkgdir/usr/share/doc/$pkgname"
30 install -m644 doc/* "$pkgdir/usr/share/doc/$pkgname/"
33 # vim:set ts=2 sw=2 et: