[arch-commits] Commit in source-highlight/repos (4 files)

Antonio Rojas arojas at archlinux.org
Fri Oct 7 19:08:41 UTC 2016


    Date: Friday, October 7, 2016 @ 19:08:40
  Author: arojas
Revision: 277891

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

Added:
  source-highlight/repos/staging-i686/
  source-highlight/repos/staging-i686/PKGBUILD
    (from rev 277890, source-highlight/trunk/PKGBUILD)
  source-highlight/repos/staging-x86_64/
  source-highlight/repos/staging-x86_64/PKGBUILD
    (from rev 277890, source-highlight/trunk/PKGBUILD)

-------------------------+
 staging-i686/PKGBUILD   |   33 +++++++++++++++++++++++++++++++++
 staging-x86_64/PKGBUILD |   33 +++++++++++++++++++++++++++++++++
 2 files changed, 66 insertions(+)

Copied: source-highlight/repos/staging-i686/PKGBUILD (from rev 277890, source-highlight/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2016-10-07 19:08:40 UTC (rev 277891)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Giovanni Scafora <giovanni at archlinux.org>
+# Contributor: Douglas Soares de Andrade <douglas at archlinux.org>
+
+pkgname=source-highlight
+pkgver=3.1.8
+pkgrel=10
+pkgdesc="Convert source code to syntax highlighted document"
+arch=('i686' 'x86_64')
+url="http://www.gnu.org/software/src-highlite/"
+license=('GPL')
+depends=('bash' 'boost-libs')
+makedepends=('ctags' 'boost')
+source=("ftp://ftp.gnu.org/gnu/src-highlite/${pkgname}-${pkgver}.tar.gz")
+md5sums=('3243470706ef5fefdc3e43b5306a4e41')
+
+build() {
+  cd ${pkgname}-${pkgver}
+
+  ./configure --prefix=/usr \
+              --sysconfdir=/etc \
+              --with-bash-completion=/usr/share/bash-completion/completions
+  make
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+
+  make prefix="${pkgdir}/usr" bash_completiondir="${pkgdir}/usr/share/bash-completion/completions" install
+
+  # PKGBUILD syntax highlighting
+  echo -e "\npkgbuild = sh.lang" >> "${pkgdir}"/usr/share/${pkgname}/lang.map
+}

Copied: source-highlight/repos/staging-x86_64/PKGBUILD (from rev 277890, source-highlight/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2016-10-07 19:08:40 UTC (rev 277891)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Giovanni Scafora <giovanni at archlinux.org>
+# Contributor: Douglas Soares de Andrade <douglas at archlinux.org>
+
+pkgname=source-highlight
+pkgver=3.1.8
+pkgrel=10
+pkgdesc="Convert source code to syntax highlighted document"
+arch=('i686' 'x86_64')
+url="http://www.gnu.org/software/src-highlite/"
+license=('GPL')
+depends=('bash' 'boost-libs')
+makedepends=('ctags' 'boost')
+source=("ftp://ftp.gnu.org/gnu/src-highlite/${pkgname}-${pkgver}.tar.gz")
+md5sums=('3243470706ef5fefdc3e43b5306a4e41')
+
+build() {
+  cd ${pkgname}-${pkgver}
+
+  ./configure --prefix=/usr \
+              --sysconfdir=/etc \
+              --with-bash-completion=/usr/share/bash-completion/completions
+  make
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+
+  make prefix="${pkgdir}/usr" bash_completiondir="${pkgdir}/usr/share/bash-completion/completions" install
+
+  # PKGBUILD syntax highlighting
+  echo -e "\npkgbuild = sh.lang" >> "${pkgdir}"/usr/share/${pkgname}/lang.map
+}



More information about the arch-commits mailing list