[arch-commits] Commit in source-highlight/repos (4 files)
Ionut Biru
ibiru at archlinux.org
Wed Nov 30 06:29:24 UTC 2011
Date: Wednesday, November 30, 2011 @ 01:29:24
Author: ibiru
Revision: 143872
db-move: moved source-highlight from [staging] to [testing] (i686)
Added:
source-highlight/repos/testing-i686/
source-highlight/repos/testing-i686/PKGBUILD
(from rev 143849, source-highlight/repos/staging-i686/PKGBUILD)
source-highlight/repos/testing-i686/source-highlight.install
(from rev 143849, 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 143849, source-highlight/repos/staging-i686/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2011-11-30 06:29:24 UTC (rev 143872)
@@ -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.5
+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=('3117ee47c1c6b0668667e20d2aca3757')
+
+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 143849, source-highlight/repos/staging-i686/source-highlight.install)
===================================================================
--- testing-i686/source-highlight.install (rev 0)
+++ testing-i686/source-highlight.install 2011-11-30 06:29:24 UTC (rev 143872)
@@ -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