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

Christian Hesse eworm at archlinux.org
Sun Mar 26 12:51:09 UTC 2017


    Date: Sunday, March 26, 2017 @ 12:51:08
  Author: eworm
Revision: 219076

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

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

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

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2017-03-26 12:51:02 UTC (rev 219075)
+++ community-i686/PKGBUILD	2017-03-26 12:51:08 UTC (rev 219076)
@@ -1,45 +0,0 @@
-# $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/PKGBUILD (from rev 219075, vis/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2017-03-26 12:51:08 UTC (rev 219076)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Christian Hesse <mail at eworm.de>
+
+pkgname=vis
+pkgver=0.3
+pkgrel=1
+_pkgname_test=vis-test
+_pkgver_test=0.1
+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' 'lua-lpeg' 'tre' 'file')
+license=('custom:ISC')
+backup=('etc/vis/visrc.lua')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/martanne/${pkgname}/archive/v${pkgver}.tar.gz"
+        "${_pkgname_test}-${_pkgver_test}.tar.gz::https://github.com/martanne/${_pkgname_test}/archive/v${_pkgver_test}.tar.gz")
+sha256sums=('bed8ed32ef4f81bc4fd28e297ea8edc80027ac6923b9d3b5bd955d24899c7077'
+            '78c2c4416ef284e2362bb0e761ee9c4add106d122ac44b341c6bcf449f0b17a6')
+
+prepare() {
+	cd "${pkgname}-${pkgver}/"
+
+	rmdir test/
+	mv "../${_pkgname_test}-${_pkgver_test}" test
+}
+
+build() {
+	cd "${pkgname}-${pkgver}/"
+
+	./configure \
+		--prefix=/usr
+
+	make
+}
+
+check() {
+	cd "${pkgname}-${pkgver}/"
+
+	make -C test/
+}
+
+package() {
+	cd "${pkgname}-${pkgver}/"
+
+	make DESTDIR="${pkgdir}" install
+
+	install -D -m0644 lua/visrc.lua "${pkgdir}"/etc/vis/visrc.lua
+
+	install -D -m0644 'LICENSE' "${pkgdir}/usr/share/licenses/vis/LICENSE"
+}
+

Deleted: community-i686/pie.patch
===================================================================
--- community-i686/pie.patch	2017-03-26 12:51:02 UTC (rev 219075)
+++ community-i686/pie.patch	2017-03-26 12:51:08 UTC (rev 219076)
@@ -1,13 +0,0 @@
-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... "

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2017-03-26 12:51:02 UTC (rev 219075)
+++ community-x86_64/PKGBUILD	2017-03-26 12:51:08 UTC (rev 219076)
@@ -1,45 +0,0 @@
-# $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/PKGBUILD (from rev 219075, vis/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2017-03-26 12:51:08 UTC (rev 219076)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Christian Hesse <mail at eworm.de>
+
+pkgname=vis
+pkgver=0.3
+pkgrel=1
+_pkgname_test=vis-test
+_pkgver_test=0.1
+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' 'lua-lpeg' 'tre' 'file')
+license=('custom:ISC')
+backup=('etc/vis/visrc.lua')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/martanne/${pkgname}/archive/v${pkgver}.tar.gz"
+        "${_pkgname_test}-${_pkgver_test}.tar.gz::https://github.com/martanne/${_pkgname_test}/archive/v${_pkgver_test}.tar.gz")
+sha256sums=('bed8ed32ef4f81bc4fd28e297ea8edc80027ac6923b9d3b5bd955d24899c7077'
+            '78c2c4416ef284e2362bb0e761ee9c4add106d122ac44b341c6bcf449f0b17a6')
+
+prepare() {
+	cd "${pkgname}-${pkgver}/"
+
+	rmdir test/
+	mv "../${_pkgname_test}-${_pkgver_test}" test
+}
+
+build() {
+	cd "${pkgname}-${pkgver}/"
+
+	./configure \
+		--prefix=/usr
+
+	make
+}
+
+check() {
+	cd "${pkgname}-${pkgver}/"
+
+	make -C test/
+}
+
+package() {
+	cd "${pkgname}-${pkgver}/"
+
+	make DESTDIR="${pkgdir}" install
+
+	install -D -m0644 lua/visrc.lua "${pkgdir}"/etc/vis/visrc.lua
+
+	install -D -m0644 'LICENSE' "${pkgdir}/usr/share/licenses/vis/LICENSE"
+}
+

Deleted: community-x86_64/pie.patch
===================================================================
--- community-x86_64/pie.patch	2017-03-26 12:51:02 UTC (rev 219075)
+++ community-x86_64/pie.patch	2017-03-26 12:51:08 UTC (rev 219076)
@@ -1,13 +0,0 @@
-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