[arch-commits] Commit in vis/repos (6 files)

Christian Hesse eworm at archlinux.org
Sat Mar 26 22:13:11 UTC 2016


    Date: Saturday, March 26, 2016 @ 23:13:10
  Author: eworm
Revision: 168519

archrelease: copy trunk to community-i686, community-x86_64

Added:
  vis/repos/community-i686/
  vis/repos/community-i686/PKGBUILD
    (from rev 168518, vis/trunk/PKGBUILD)
  vis/repos/community-i686/pie.patch
    (from rev 168518, vis/trunk/pie.patch)
  vis/repos/community-x86_64/
  vis/repos/community-x86_64/PKGBUILD
    (from rev 168518, vis/trunk/PKGBUILD)
  vis/repos/community-x86_64/pie.patch
    (from rev 168518, vis/trunk/pie.patch)

----------------------------+
 community-i686/PKGBUILD    |   45 +++++++++++++++++++++++++++++++++++++++++++
 community-i686/pie.patch   |   13 ++++++++++++
 community-x86_64/PKGBUILD  |   45 +++++++++++++++++++++++++++++++++++++++++++
 community-x86_64/pie.patch |   13 ++++++++++++
 4 files changed, 116 insertions(+)

Copied: vis/repos/community-i686/PKGBUILD (from rev 168518, vis/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2016-03-26 22:13:10 UTC (rev 168519)
@@ -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"
+}
+

Copied: vis/repos/community-i686/pie.patch (from rev 168518, vis/trunk/pie.patch)
===================================================================
--- community-i686/pie.patch	                        (rev 0)
+++ community-i686/pie.patch	2016-03-26 22:13:10 UTC (rev 168519)
@@ -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... "

Copied: vis/repos/community-x86_64/PKGBUILD (from rev 168518, vis/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2016-03-26 22:13:10 UTC (rev 168519)
@@ -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"
+}
+

Copied: vis/repos/community-x86_64/pie.patch (from rev 168518, vis/trunk/pie.patch)
===================================================================
--- community-x86_64/pie.patch	                        (rev 0)
+++ community-x86_64/pie.patch	2016-03-26 22:13:10 UTC (rev 168519)
@@ -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