aboutsummaryrefslogtreecommitdiffstats
path: root/main/termrec/APKBUILD
blob: 5417ad165b053f3d06d2f9b011133346da144d9c (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
37
38
39
40
41
42
# Contributor: ScrumpyJack <scrumpyjack@st.ilet.to>
# Maintainer: ScrumpyJack <scrumpyjack@st.ilet.to>
pkgname=termrec
pkgver=0.17
pkgrel=0
pkgdesc="termrec is a program for recording "videos" of terminal output"
url="http://angband.pl/termrec.html"
arch="all"
license="GPL"
depends=""
depends_dev=""
makedepends="zlib-dev"
install=""
subpackages="$pkgname-dev $pkgname-doc"
source="http://prdownloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.xz"
options="libtool"

_builddir=${srcdir}/${pkgname}-${pkgver}
prepare() {
	local i
	cd "$_builddir"
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

build() {
	cd "$_builddir"
        ./configure --prefix=/usr
        make || return 1
     }

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

md5sums="4d0bc41411196a81157a72b68736a0f4  termrec-0.17.tar.xz"
sha256sums="62f02c245b36d9059aef91a70fa8daee7cd946f22eac2947a1204d7bf4e63473  termrec-0.17.tar.xz"
sha512sums="43b9649b9dfff0b01fc545a388b21341f40667b176b585c160a28efa6b2cde1ef1d60770423c5739d790d6ad2e53ee7f81ad0ab28545d595a442f94d10a52e58  termrec-0.17.tar.xz"