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

Giovanni Scafora giovanni at archlinux.org
Mon Feb 27 14:04:37 EST 2012


    Date: Monday, February 27, 2012 @ 14:04:37
  Author: giovanni
Revision: 151593

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

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

-----------------------------------------+
 staging-i686/PKGBUILD                   |   32 ++++++++++++++++++++++++++++++
 staging-i686/source-highlight.install   |   18 ++++++++++++++++
 staging-x86_64/PKGBUILD                 |   32 ++++++++++++++++++++++++++++++
 staging-x86_64/source-highlight.install |   18 ++++++++++++++++
 4 files changed, 100 insertions(+)

Copied: source-highlight/repos/staging-i686/PKGBUILD (from rev 151592, source-highlight/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2012-02-27 19:04:37 UTC (rev 151593)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Giovanni Scafora <giovanni at archlinux.org>
+# Contributor: Douglas Soares de Andrade <douglas at archlinux.org>
+
+pkgname=source-highlight
+pkgver=3.1.6
+pkgrel=2
+pkgdesc="Convert source code to syntax highlighted document"
+arch=('i686' 'x86_64')
+url="http://www.gnu.org/software/src-highlite/"
+license=('GPL')
+depends=('gcc-libs' 'bash' 'boost-libs')
+makedepends=('ctags' 'boost')
+options=('!libtool')
+install=$pkgname.install
+source=("ftp://ftp.gnu.org/gnu/src-highlite/${pkgname}-${pkgver}.tar.gz")
+md5sums=('44856c15a5dc8694e30d92f640ed348f')
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  ./configure --prefix=/usr \
+              --sysconfdir=/etc \
+	      --with-bash-completion=${pkgdir}/etc/bash_completion.d
+  make
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  make prefix="${pkgdir}/usr" install
+}

Copied: source-highlight/repos/staging-i686/source-highlight.install (from rev 151592, source-highlight/trunk/source-highlight.install)
===================================================================
--- staging-i686/source-highlight.install	                        (rev 0)
+++ staging-i686/source-highlight.install	2012-02-27 19:04:37 UTC (rev 151593)
@@ -0,0 +1,18 @@
+info_dir=usr/share/info
+info_files=(source-highlight.info source-highlight-lib.info)
+
+post_install() {
+  for f in ${info_files[@]}; do
+    install-info ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null
+  done
+}
+
+post_upgrade() {
+	post_install
+}
+
+pre_remove() {
+  for f in ${info_files[@]}; do
+    install-info --delete ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null
+  done
+}

Copied: source-highlight/repos/staging-x86_64/PKGBUILD (from rev 151592, source-highlight/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2012-02-27 19:04:37 UTC (rev 151593)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Giovanni Scafora <giovanni at archlinux.org>
+# Contributor: Douglas Soares de Andrade <douglas at archlinux.org>
+
+pkgname=source-highlight
+pkgver=3.1.6
+pkgrel=2
+pkgdesc="Convert source code to syntax highlighted document"
+arch=('i686' 'x86_64')
+url="http://www.gnu.org/software/src-highlite/"
+license=('GPL')
+depends=('gcc-libs' 'bash' 'boost-libs')
+makedepends=('ctags' 'boost')
+options=('!libtool')
+install=$pkgname.install
+source=("ftp://ftp.gnu.org/gnu/src-highlite/${pkgname}-${pkgver}.tar.gz")
+md5sums=('44856c15a5dc8694e30d92f640ed348f')
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  ./configure --prefix=/usr \
+              --sysconfdir=/etc \
+	      --with-bash-completion=${pkgdir}/etc/bash_completion.d
+  make
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  make prefix="${pkgdir}/usr" install
+}

Copied: source-highlight/repos/staging-x86_64/source-highlight.install (from rev 151592, source-highlight/trunk/source-highlight.install)
===================================================================
--- staging-x86_64/source-highlight.install	                        (rev 0)
+++ staging-x86_64/source-highlight.install	2012-02-27 19:04:37 UTC (rev 151593)
@@ -0,0 +1,18 @@
+info_dir=usr/share/info
+info_files=(source-highlight.info source-highlight-lib.info)
+
+post_install() {
+  for f in ${info_files[@]}; do
+    install-info ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null
+  done
+}
+
+post_upgrade() {
+	post_install
+}
+
+pre_remove() {
+  for f in ${info_files[@]}; do
+    install-info --delete ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null
+  done
+}



More information about the arch-commits mailing list