aboutsummaryrefslogtreecommitdiffstats
path: root/main/termrec/APKBUILD
blob: 2accefcf5b9c31cb8cc95afae36b2284d8adebd4 (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
34
35
36
# Contributor: ScrumpyJack <scrumpyjack@st.ilet.to>
# Maintainer: ScrumpyJack <scrumpyjack@st.ilet.to>
pkgname=termrec
pkgver=0.17
pkgrel=1
pkgdesc="termrec is a program for recording videos of terminal output"
url="http://angband.pl/termrec.html"
arch="all"
license="GPL"
makedepends="zlib-dev bzip2-dev"
checkdepends="xz-dev autoconf"
subpackages="$pkgname-dev $pkgname-doc"
source="http://prdownloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.xz
	Fix-a-bashism-in-the-testsuite.patch"
options="libtool"

builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
        ./configure --prefix=/usr
        make
}

check() {
	cd "$builddir"
	make check
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir/" install
}

sha512sums="43b9649b9dfff0b01fc545a388b21341f40667b176b585c160a28efa6b2cde1ef1d60770423c5739d790d6ad2e53ee7f81ad0ab28545d595a442f94d10a52e58  termrec-0.17.tar.xz
7b2de6d264db3644380cfd6e1b4266f7e1e371621f8b96f57c7cd5f4dbf19a5656a31e6538e7411a21a0f5613df1ffcccb21a544d345755232050fd6595e1e53  Fix-a-bashism-in-the-testsuite.patch"