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

Ionut Biru ibiru at archlinux.org
Sat Mar 3 03:09:12 EST 2012


    Date: Saturday, March 3, 2012 @ 03:09:11
  Author: ibiru
Revision: 151826

db-move: moved source-highlight from [staging] to [testing] (i686)

Added:
  source-highlight/repos/testing-i686/
  source-highlight/repos/testing-i686/PKGBUILD
    (from rev 151799, source-highlight/repos/staging-i686/PKGBUILD)
  source-highlight/repos/testing-i686/source-highlight.install
    (from rev 151799, source-highlight/repos/staging-i686/source-highlight.install)
Deleted:
  source-highlight/repos/staging-i686/

--------------------------+
 PKGBUILD                 |   32 ++++++++++++++++++++++++++++++++
 source-highlight.install |   18 ++++++++++++++++++
 2 files changed, 50 insertions(+)

Copied: source-highlight/repos/testing-i686/PKGBUILD (from rev 151799, source-highlight/repos/staging-i686/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2012-03-03 08:09:11 UTC (rev 151826)
@@ -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/testing-i686/source-highlight.install (from rev 151799, source-highlight/repos/staging-i686/source-highlight.install)
===================================================================
--- testing-i686/source-highlight.install	                        (rev 0)
+++ testing-i686/source-highlight.install	2012-03-03 08:09:11 UTC (rev 151826)
@@ -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