aboutsummaryrefslogtreecommitdiffstats
path: root/testing/vis/APKBUILD
blob: 0e492c93e75e847c17d6a412c369a2e71f307a7b (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
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net>
pkgname=vis
pkgver=0.1
pkgrel=1
pkgdesc="A vim like text editor"
url="https://github.com/martanne/vis"
arch="all"
license="ISC"
depends="!outils-vis lua5.2-lpeg"
depends_dev=""
makedepends="libtermkey-dev ncurses-dev lua5.2-dev"
install=""
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/martanne/$pkgname/archive/v$pkgver.tar.gz
	fortify-source.patch"

_builddir="$srcdir"/$pkgname-$pkgver
build() {
	make -C "$_builddir" || return 1
}

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

md5sums="1e4a2b14cce65dee1458c6c4bd47b28e  vis-0.1.tar.gz
4cdc22b04428fc837feb78cc4cedbe2f  fortify-source.patch"
sha256sums="c695b095f85f4360590865b0b7007aa019463b24c1026c0e624a78b31f3ac54b  vis-0.1.tar.gz
71928d8b7408e52c396aca154e0fefc0aa07b1da744afc2d486b1f8b0984f89b  fortify-source.patch"
sha512sums="f2647971660ceb14a16371129e01027264c80818e1143684dffd19a7b99df5ee83978751b497b5678bb36a910203f9546366db335ccaf721b906b8e5b1bb9100  vis-0.1.tar.gz
46a0220123a1878cd2f96fe69009ce14fea4c2362e6c285d63237faf140062125a4132668dc01124723ac0f697ae3ad625c5ea242330e427b0496436fe300d5b  fortify-source.patch"