[arch-commits] Commit in kakoune/repos (community-x86_64 community-x86_64/PKGBUILD)
Morten Linderud
foxboron at archlinux.org
Fri May 25 17:05:13 UTC 2018
Date: Friday, May 25, 2018 @ 17:05:12
Author: foxboron
Revision: 329437
archrelease: copy trunk to community-x86_64
Added:
kakoune/repos/community-x86_64/
kakoune/repos/community-x86_64/PKGBUILD
(from rev 329436, kakoune/trunk/PKGBUILD)
----------+
PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
Copied: kakoune/repos/community-x86_64/PKGBUILD (from rev 329436, kakoune/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2018-05-25 17:05:12 UTC (rev 329437)
@@ -0,0 +1,38 @@
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+# Contributor: Frank Lenormand <lenormf at gmail dot com>
+pkgname=kakoune
+pkgver=2018.04.13
+pkgrel=2
+pkgdesc="Vim-inspired, selection-oriented code editor"
+arch=("x86_64")
+url="http://kakoune.org/"
+license=("custom:unlicense")
+depends=("ncurses")
+optdepends=(
+ "aspell: spell checking support"
+ "clang: C/C++ completion and diagnostics support"
+ "ranger: filesystem explorer"
+ "tmux: splitting and creating windows"
+# "universal-ctags-git: provides \`readtags\` used to jump to a symbol's definition"
+ "xdotool: X11 utility to focus arbitrary kakoune clients"
+ "xorg-xmessage: display debug messages in a new window"
+)
+makedepends=("asciidoc")
+source=("$pkgname-$pkgver.tar.gz::https://github.com/mawww/kakoune/archive/v${pkgver}.tar.gz")
+sha256sums=("dfbaf87479ae30fd87426ae1b5f6cbe4382d6fe17b64a0c58d9475bf038e50dc")
+
+build() {
+ cd "${pkgname}-${pkgver}/src"
+ make debug=no
+}
+
+check() {
+ cd "${pkgname}-${pkgver}/src"
+ make debug=no test
+}
+
+package() {
+ cd "${pkgname}-${pkgver}/src"
+ make debug=no install-strip DESTDIR="${pkgdir}" PREFIX=/usr
+ install -D ../UNLICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}
More information about the arch-commits
mailing list