aboutsummaryrefslogtreecommitdiffstats
path: root/testing/kakoune
diff options
context:
space:
mode:
authorMilan P. Stanić <mps@arvanta.net>2019-06-05 15:50:09 +0200
committerMilan P. Stanić <mps@arvanta.net>2019-06-05 15:52:08 +0200
commit8966b6fd11c0ec4b7d6c19f4759e5b979b212fbc (patch)
treeffe1cf272c2fd285da86864a596c86f2aa37af8d /testing/kakoune
parent68ba08949b78b9cc3f97ff236b01f2531c2d0bea (diff)
downloadaports-8966b6fd11c0ec4b7d6c19f4759e5b979b212fbc.tar.bz2
aports-8966b6fd11c0ec4b7d6c19f4759e5b979b212fbc.tar.xz
testing/kakoune: upgrade to 2019.01.20
add check change/fix source variable
Diffstat (limited to 'testing/kakoune')
-rw-r--r--testing/kakoune/APKBUILD14
1 files changed, 9 insertions, 5 deletions
diff --git a/testing/kakoune/APKBUILD b/testing/kakoune/APKBUILD
index 64d3b49607..56a6ea3ca5 100644
--- a/testing/kakoune/APKBUILD
+++ b/testing/kakoune/APKBUILD
@@ -1,7 +1,6 @@
# Maintainer: Jakub Skrzypnik <j.skrzypnik@openmailbox.org>
-_commit="baf3d82b3412b9aa0b98febf114baf7f16439994"
pkgname=kakoune
-pkgver=0_git20171229
+pkgver=2019.01.20
pkgrel=0
pkgdesc="Code editor heavily inspired by Vim, but with less keystrokes"
url="http://kakoune.org"
@@ -9,17 +8,22 @@ arch="all"
license="Unlicense"
makedepends="ncurses-dev asciidoc"
subpackages="$pkgname-doc"
-source="https://github.com/mawww/kakoune/archive/${_commit}.zip"
+source="$pkgname-$pkgver.tar.gz::https://github.com/mawww/$pkgname/archive/v$pkgver.tar.gz"
-builddir="$srcdir/$pkgname-${_commit}/src"
+builddir="$srcdir/$pkgname-$pkgver/src"
build() {
cd "$builddir"
make debug=no || return 1
}
+check() {
+ cd "$builddir"
+ make check
+}
+
package() {
cd "$builddir"
make PREFIX="/usr" DESTDIR="$pkgdir/" debug=no install || return 1
}
-sha512sums="76b2db08630706b134f1688ae258a64552bc8b0c426a845c83e5abdc0413902675f9c1150ae1e2ed272ca3ac6f271bedd1ce75137267c1f0d2ab0a80c11472ca baf3d82b3412b9aa0b98febf114baf7f16439994.zip"
+sha512sums="b4b9f362b31cb3bec1acc29dbefbb5cd4040387a0e1199db71373bc1709c5a6f2e37b621671e2585090784b36f71897df48c00cd876758310096332e20327f4e kakoune-2019.01.20.tar.gz"