aboutsummaryrefslogtreecommitdiffstats
path: root/testing/vis/APKBUILD
blob: 916a1294c69db78f96ea439f786b6419b27fcbf4 (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
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net>
pkgname=vis
pkgver=0.2
pkgrel=0
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 acl-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() {
	cd "$builddir"
	./configure \
		--prefix=/usr \
		--enable-lua \
		--enable-acl \
		|| return 1
	make || return 1
}

package() {
	make -C "$builddir" \
		DESTDIR="$pkgdir" \
		install || return 1
}

md5sums="60487df2369c6bf6bed0ee9eb8cfa07e  vis-0.2.tar.gz
8f2a9c50a44a7a1a9f30c144d6aaa113  fortify-source.patch"
sha256sums="3e5b81d760849c56ee378421e9ba0f653c641bf78e7594f71d85357be99a752d  vis-0.2.tar.gz
5722c02bf2d08c8700970831b428930ef2780234350c1d0716c709ffc01f7f92  fortify-source.patch"
sha512sums="ded2566105b890e21ee010f2f2809986e405f76bed2f7a969d2f818bcf437f3969a140ed0be2af7631e36b3c7fb6b73a3d715ba9ddb7fdd67a2e983b0765918a  vis-0.2.tar.gz
53a2f70a67e4fdb7462904428bbd556f5452989ada746ec8d67b7a90aabbf806377ef7d66d760d0d74ab3101d4af2154b1a59403fce60b20ef11476242cba713  fortify-source.patch"