aboutsummaryrefslogblamecommitdiffstats
path: root/community/vis/APKBUILD
blob: fe8c430471fb441c6f28de868e83095dfcab573c (plain) (tree)
1
2
3
4
5
6
7
8
9
10


                                                              

            

                                                                   


                                     
                                 
                                                           
                  
                          

                                                                                                    
         
                                          
 
         


                               

                            

 
         

                                   

 
           
                                      

 

                                                                                                                                                            
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net>
pkgname=vis
pkgver=0.7
_testver=0.5
pkgrel=0
pkgdesc="Modern, legacy free, simple yet efficient vim-like editor"
url="https://github.com/martanne/vis"
arch="all"
license="ISC"
depends="!outils-vis lua5.3-lpeg"
makedepends="libtermkey-dev ncurses-dev acl-dev lua5.3-dev"
checkdepends="vim"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/martanne/vis/archive/v$pkgver.tar.gz
	$pkgname-test-$pkgver.tar.gz::https://github.com/martanne/vis-test/archive/v$_testver.tar.gz
	"
_testdir="$srcdir"/$pkgname-test-$_testver

build() {
	./configure \
		--prefix=/usr \
		--enable-lua \
		--enable-acl
	make
}

check() {
	cp -r "$_testdir"/* ./test/
	make test
}

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

sha512sums="ccc6a054fea6917e7751882468a74c30c712f7ec400a913c95c0084691f706e2bee54efb86b75be8b121c9a209c7e587e72e5474c55271d9943e91fc8aaf9bac  vis-0.7.tar.gz
c41b40f23a45a7ebd9c16aa853d9c3b517767cb88ff8dc268da44276a02aa8c77de0fc6aa243a1e4cdfbc27182870b82d0b9bc892bb87ea74d5275d76c554ed1  vis-test-0.7.tar.gz"