[arch-commits] Commit in source-highlight/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Sun Dec 6 19:04:34 UTC 2020
Date: Sunday, December 6, 2020 @ 19:04:34
Author: felixonmars
Revision: 402980
archrelease: copy trunk to staging-x86_64
Added:
source-highlight/repos/staging-x86_64/
source-highlight/repos/staging-x86_64/PKGBUILD
(from rev 402979, source-highlight/trunk/PKGBUILD)
----------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Copied: source-highlight/repos/staging-x86_64/PKGBUILD (from rev 402979, source-highlight/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2020-12-06 19:04:34 UTC (rev 402980)
@@ -0,0 +1,32 @@
+# Maintainer: Giovanni Scafora <giovanni at archlinux.org>
+# Contributor: Douglas Soares de Andrade <douglas at archlinux.org>
+
+pkgname=source-highlight
+pkgver=3.1.9
+pkgrel=3
+pkgdesc="Convert source code to syntax highlighted document"
+arch=('x86_64')
+url="https://www.gnu.org/software/src-highlite/"
+license=('GPL')
+depends=('bash' 'boost-libs')
+makedepends=('ctags' 'boost')
+source=("https://ftp.gnu.org/gnu/src-highlite/${pkgname}-${pkgver}.tar.gz")
+sha512sums=('d8e154e9a5d62c77807e4e5d36c0faed5ce2964291be5f8b83e2968a6de52229503689a4ca2109a717ae2632a14b63ec937ca0430c91684c72063f6bc0294195')
+
+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