summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Hesse2017-01-13 22:26:33 +0100
committerChristian Hesse2017-01-13 22:26:33 +0100
commit01ab688725e5436404e4126afb6d108fc2240528 (patch)
tree4041b2d2290d6823dd9f7f7338282e60f567c3c7
parentc1a8656221cf5782c13754eab880a5f3f50b4e3f (diff)
downloadaur-01ab688725e5436404e4126afb6d108fc2240528.tar.gz
commit vis-standalone-git 0.2.r655.g91e0c6e-2
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD29
2 files changed, 27 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b504fe4189d6..450f9d224330 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
# Generated by mksrcinfo v8
-# Thu Jan 12 11:42:47 UTC 2017
+# Fri Jan 13 21:26:33 UTC 2017
pkgbase = vis-standalone-git
pkgdesc = modern, legacy free, simple yet efficient vim-like editor - statically linked - git checkout
- pkgver = 0.2.r645.ge83a9d5
+ pkgver = 0.2.r655.g91e0c6e
pkgrel = 2
url = http://www.brain-dump.org/projects/vis/
arch = i686
@@ -12,6 +12,7 @@ pkgbase = vis-standalone-git
provides = vis
conflicts = vis
source = git://github.com/martanne/vis.git
+ source = git://github.com/martanne/vis-test.git
source = http://www.musl-libc.org/releases/musl-1.1.16.tar.gz
source = http://www.musl-libc.org/releases/musl-1.1.16.tar.gz.asc
source = http://ftp.gnu.org/gnu/ncurses/ncurses-6.0.tar.gz
@@ -20,6 +21,7 @@ pkgbase = vis-standalone-git
source = http://www.lua.org/ftp/lua-5.3.3.tar.gz
source = http://www.inf.puc-rio.br/~roberto/lpeg/lpeg-1.0.0.tar.gz
sha256sums = SKIP
+ sha256sums = SKIP
sha256sums = 937185a5e5d721050306cf106507a006c3f1f86d86cd550024ea7be909071011
sha256sums = SKIP
sha256sums = f551c24b30ce8bfb6e96d9f59b42fbea30fa3a6123384172f9e7284bcf647260
diff --git a/PKGBUILD b/PKGBUILD
index 556f6ba16e66..724c07b55c0e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgbase=vis-standalone-git
pkgname=(vis-standalone-git vis-single-git)
-pkgver=0.2.r645.ge83a9d5
+pkgver=0.2.r655.g91e0c6e
pkgrel=2
_pkgver_libmusl=1.1.16
_pkgver_ncurses=6.0
@@ -19,12 +19,14 @@ license=('custom:ISC')
validpgpkeys=('836489290BB6B70F99FFDA0556BCDB593020450F' # musl libc <musl@libc.org>
'C52048C0C0748FEE227D47A2702353E0F7E48EDB') # Thomas Dickey <dickey@invisible-island.net>
source=('git://github.com/martanne/vis.git'
- "http://www.musl-libc.org/releases/musl-${_pkgver_libmusl}.tar.gz"{,.asc}
- "http://ftp.gnu.org/gnu/ncurses/ncurses-${_pkgver_ncurses}.tar.gz"{,.sig}
- "http://www.leonerd.org.uk/code/libtermkey/libtermkey-${_pkgver_libtermkey}.tar.gz"
- "http://www.lua.org/ftp/lua-${_pkgver_lua}.tar.gz"
- "http://www.inf.puc-rio.br/~roberto/lpeg/lpeg-${_pkgver_lpeg}.tar.gz")
+ 'git://github.com/martanne/vis-test.git'
+ "http://www.musl-libc.org/releases/musl-${_pkgver_libmusl}.tar.gz"{,.asc}
+ "http://ftp.gnu.org/gnu/ncurses/ncurses-${_pkgver_ncurses}.tar.gz"{,.sig}
+ "http://www.leonerd.org.uk/code/libtermkey/libtermkey-${_pkgver_libtermkey}.tar.gz"
+ "http://www.lua.org/ftp/lua-${_pkgver_lua}.tar.gz"
+ "http://www.inf.puc-rio.br/~roberto/lpeg/lpeg-${_pkgver_lpeg}.tar.gz")
sha256sums=('SKIP'
+ 'SKIP'
'937185a5e5d721050306cf106507a006c3f1f86d86cd550024ea7be909071011'
'SKIP'
'f551c24b30ce8bfb6e96d9f59b42fbea30fa3a6123384172f9e7284bcf647260'
@@ -36,6 +38,10 @@ sha256sums=('SKIP'
prepare() {
cd vis/
+ git config --file=.gitmodules submodule.git.url ../vis-test/
+ git submodule init
+ git submodule update
+
mkdir -p dependency/sources/
for SOURCE in "${source[@]}"; do
@@ -62,11 +68,22 @@ pkgver() {
build() {
cd vis/
+ # prepare test environment
+ ./configure
+ make -C test/core/
+ make -C test/util/
+
unset CFLAGS LDFLAGS
make PREFIX='/usr/' single
}
+check() {
+ cd vis/
+
+ make -C test/
+}
+
package_vis-standalone-git() {
pkgdesc='modern, legacy free, simple yet efficient vim-like editor - statically linked - git checkout'