[arch-commits] Commit in source-highlight/repos (8 files)
Stéphane Gaudreault
stephane at nymeria.archlinux.org
Fri Mar 29 19:14:45 UTC 2013
Date: Friday, March 29, 2013 @ 20:14:45
Author: stephane
Revision: 181024
db-move: moved source-highlight from [staging] to [testing] (i686, x86_64)
Added:
source-highlight/repos/testing-i686/
source-highlight/repos/testing-i686/PKGBUILD
(from rev 181010, source-highlight/repos/staging-i686/PKGBUILD)
source-highlight/repos/testing-i686/source-highlight.install
(from rev 181010, source-highlight/repos/staging-i686/source-highlight.install)
source-highlight/repos/testing-x86_64/
source-highlight/repos/testing-x86_64/PKGBUILD
(from rev 181010, source-highlight/repos/staging-x86_64/PKGBUILD)
source-highlight/repos/testing-x86_64/source-highlight.install
(from rev 181010, source-highlight/repos/staging-x86_64/source-highlight.install)
Deleted:
source-highlight/repos/staging-i686/
source-highlight/repos/staging-x86_64/
-----------------------------------------+
testing-i686/PKGBUILD | 32 ++++++++++++++++++++++++++++++
testing-i686/source-highlight.install | 18 ++++++++++++++++
testing-x86_64/PKGBUILD | 32 ++++++++++++++++++++++++++++++
testing-x86_64/source-highlight.install | 18 ++++++++++++++++
4 files changed, 100 insertions(+)
Copied: source-highlight/repos/testing-i686/PKGBUILD (from rev 181010, source-highlight/repos/staging-i686/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2013-03-29 19:14:45 UTC (rev 181024)
@@ -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.7
+pkgrel=5
+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')
+options=('!libtool')
+install=$pkgname.install
+source=("ftp://ftp.gnu.org/gnu/src-highlite/${pkgname}-${pkgver}.tar.gz")
+md5sums=('0ff81588d3536b4c4e571122ba940595')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --with-bash-completion=/usr/share/bash-completion/completions
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ make prefix="${pkgdir}/usr" bash_completiondir="${pkgdir}/usr/share/bash-completion/completions" install
+}
Copied: source-highlight/repos/testing-i686/source-highlight.install (from rev 181010, source-highlight/repos/staging-i686/source-highlight.install)
===================================================================
--- testing-i686/source-highlight.install (rev 0)
+++ testing-i686/source-highlight.install 2013-03-29 19:14:45 UTC (rev 181024)
@@ -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/testing-x86_64/PKGBUILD (from rev 181010, source-highlight/repos/staging-x86_64/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2013-03-29 19:14:45 UTC (rev 181024)
@@ -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.7
+pkgrel=5
+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')
+options=('!libtool')
+install=$pkgname.install
+source=("ftp://ftp.gnu.org/gnu/src-highlite/${pkgname}-${pkgver}.tar.gz")
+md5sums=('0ff81588d3536b4c4e571122ba940595')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --with-bash-completion=/usr/share/bash-completion/completions
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ make prefix="${pkgdir}/usr" bash_completiondir="${pkgdir}/usr/share/bash-completion/completions" install
+}
Copied: source-highlight/repos/testing-x86_64/source-highlight.install (from rev 181010, source-highlight/repos/staging-x86_64/source-highlight.install)
===================================================================
--- testing-x86_64/source-highlight.install (rev 0)
+++ testing-x86_64/source-highlight.install 2013-03-29 19:14:45 UTC (rev 181024)
@@ -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