summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 10b8dd0eb849758819665bad5963da7bd3b9c6d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Maintainer: Shaw <puxx@mail.ustc.edu.cn>
# Contributor: Nick <iglu.sitar at gmail dot com>
# Contributor: Angus Gibson <darthshrine@gmail.com>

pkgname=ipbt
pkgver=20170831.3c40fd3
pkgrel=1
pkgdesc="A high-tech ttyrec player"
arch=('i686' 'x86_64')
url="http://www.chiark.greenend.org.uk/~sgtatham/ipbt/"
license=('MIT')
depends=('ncurses' 'perl')
source=("http://www.chiark.greenend.org.uk/~sgtatham/ipbt/$pkgname-$pkgver.tar.gz")
sha256sums=('237394f7074a8e540495bdcb8b82b5a932f8597505e2ee3ba3d96b0671cfeae3')

build() {
	cd $srcdir/$pkgname-$pkgver
	./configure
	make
}

package() {
	cd $srcdir/$pkgname-$pkgver
	# install executable files
	install -Dm755 ipbt $pkgdir/usr/bin/ipbt
	install -Dm755 ttydump $pkgdir/usr/bin/ttydump
	install -Dm755 ttygrep $pkgdir/usr/bin/ttygrep
	# install man page
	install -Dm644 ipbt.1 $pkgdir/usr/share/man/man1/ipbt.1
	# install LICENCE
	install -Dm644 LICENCE $pkgdir/usr/share/licenses/$pkgname/LICENCE
}