[arch-commits] Commit in (5 files)
Christian Hesse
eworm at archlinux.org
Sat Mar 26 22:12:50 UTC 2016
Date: Saturday, March 26, 2016 @ 23:12:50
Author: eworm
Revision: 168518
initial import: vis 0.2-2
Added:
vis/
vis/repos/
vis/trunk/
vis/trunk/PKGBUILD
vis/trunk/pie.patch
-----------+
PKGBUILD | 45 +++++++++++++++++++++++++++++++++++++++++++++
pie.patch | 13 +++++++++++++
2 files changed, 58 insertions(+)
Added: vis/trunk/PKGBUILD
===================================================================
--- vis/trunk/PKGBUILD (rev 0)
+++ vis/trunk/PKGBUILD 2016-03-26 22:12:50 UTC (rev 168518)
@@ -0,0 +1,45 @@
+# $Id $
+# Maintainer: Christian Hesse <mail at eworm.de>
+
+pkgname=vis
+pkgver=0.2
+pkgrel=2
+pkgdesc='modern, legacy free, simple yet efficient vim-like editor'
+arch=('i686' 'x86_64')
+url='http://www.brain-dump.org/projects/vis/'
+depends=('ncurses' 'libtermkey' 'lua')
+makedepends=('markdown')
+optdepends=('lua-lpeg: for syntax highlighting')
+license=('custom:ISC')
+source=("http://www.brain-dump.org/projects/${pkgname}/${pkgname}-${pkgver}.tar.gz"
+ 'pie.patch')
+sha256sums=('3e5b81d760849c56ee378421e9ba0f653c641bf78e7594f71d85357be99a752d'
+ '90afe9c335f41490d572e1107394c126564d85b42e027df1f7c5e61098dbd603')
+
+prepare() {
+ cd "${pkgname}-${pkgver}/"
+
+ patch -Np1 < "${srcdir}/pie.patch"
+}
+
+build() {
+ cd "${pkgname}-${pkgver}/"
+
+ ./configure \
+ --prefix=/usr
+
+ make
+
+ markdown README.md > README.html
+}
+
+package() {
+ cd "${pkgname}-${pkgver}/"
+
+ make DESTDIR="${pkgdir}" install
+
+ install -D -m0644 'LICENSE' "${pkgdir}/usr/share/licenses/vis/LICENSE"
+ install -D -m0644 'README.md' "${pkgdir}/usr/share/doc/vis/README.md"
+ install -D -m0644 'README.html' "${pkgdir}/usr/share/doc/vis/README.html"
+}
+
Property changes on: vis/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: vis/trunk/pie.patch
===================================================================
--- vis/trunk/pie.patch (rev 0)
+++ vis/trunk/pie.patch 2016-03-26 22:12:50 UTC (rev 168518)
@@ -0,0 +1,13 @@
+diff --git a/configure b/configure
+index d3c59ac..34da035 100755
+--- a/configure
++++ b/configure
+@@ -223,7 +223,7 @@ tryflag CFLAGS_AUTO -fPIE
+ tryflag CFLAGS_AUTO -fstack-protector-all
+ tryldflag LDFLAGS_AUTO -Wl,-z,now
+ tryldflag LDFLAGS_AUTO -Wl,-z,relro
+-tryldflag LDFLAGS_AUTO -Wl,-pie
++tryldflag LDFLAGS_AUTO -pie
+
+ have_pkgconfig=no
+ printf "checking for pkg-config... "
More information about the arch-commits
mailing list