aboutsummaryrefslogtreecommitdiffstats
path: root/testing/dvtm/APKBUILD
blob: 015d0997f4a95e8378f9325171b150aa6d663e9a (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: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Contributor: Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org>
# Maintainer:
pkgname=dvtm
pkgver=0.15
pkgrel=0
pkgdesc="Dynamic virtual terminal manager"
arch="all"
url="http://www.brain-dump.org/projects/dvtm/"
license="MIT"
makedepends="ncurses-dev ncurses" # we need ncurses for 'tic'
subpackages="$pkgname-doc"
source="http://www.brain-dump.org/projects/${pkgname}/${pkgname}-${pkgver}.tar.gz"

_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
	cd "$_builddir"
	sed -i Makefile \
		-e '/strip/d' \
		-e '/STRIP/d' \
		-e 's|\btic\b|tic -o ${DESTDIR}${PREFIX}/share/terminfo|g' || return 1
}

build() {
	cd "$_builddir"
	make || return 1
}

package() {
	cd "$_builddir"
	make PREFIX=/usr DESTDIR="$pkgdir" install || return 1
}

md5sums="887e162a3abe2ad8e86caefab20cdd63  dvtm-0.15.tar.gz"
sha256sums="8f2015c05e2ad82f12ae4cf12b363d34f527a4bbc8c369667f239e4542e1e510  dvtm-0.15.tar.gz"
sha512sums="48a0c8fd6a50fe5d43414d0223c9f4b9920a31d42fe3bfc428ce1ae7d0e41a41ebe2597eae0824c7c76bfb0e32a13e440c8d5fcdb1886d55d6791fa3fe3fd77b  dvtm-0.15.tar.gz"