diff options
author | Nicolas LLOBERA | 2016-05-04 00:14:02 +0200 |
---|---|---|
committer | Nicolas LLOBERA | 2016-05-04 00:14:02 +0200 |
commit | a798cf14d31b824b462ee98ac8ed30a058903b75 (patch) | |
tree | eb29f8739f0e69aa97f3fbf7d85165a91d3ff7f1 | |
parent | c661e42e39fe7e269807b798cedffa0f7596d058 (diff) | |
download | aur-a798cf14d31b824b462ee98ac8ed30a058903b75.tar.gz |
man 1 and 5
-rw-r--r-- | .SRCINFO | 7 | ||||
-rw-r--r-- | PKGBUILD | 14 |
2 files changed, 14 insertions, 7 deletions
@@ -1,17 +1,18 @@ # Generated by mksrcinfo v8 -# Tue May 3 17:11:19 UTC 2016 +# Tue May 3 22:13:37 UTC 2016 pkgbase = hl-git pkgdesc = Highlight (colorize) text data using regular expressions pkgver = 1.69 - pkgrel = 1 + pkgrel = 2 url = https://github.com/mbornet-hl/hl arch = i686 arch = x86_64 license = GPL3 makedepends = gcc + makedepends = git + makedepends = gzip makedepends = flex makedepends = make - makedepends = git depends = glibc source = git+https://github.com/mbornet-hl/hl md5sums = SKIP @@ -1,7 +1,7 @@ # Maintainer: Nicolas LLOBERA <nllobera@gmail.com> pkgname="hl-git" pkgver=1.69 -pkgrel=1 +pkgrel=2 pkgdesc="Highlight (colorize) text data using regular expressions" arch=('i686' 'x86_64') @@ -9,7 +9,7 @@ url="https://github.com/mbornet-hl/hl" license=('GPL3') depends=('glibc') -makedepends=('gcc' 'flex' 'make' 'git') +makedepends=('gcc' 'git' 'gzip' 'flex' 'make') source=("git+https://github.com/mbornet-hl/hl") md5sums=(SKIP) @@ -22,12 +22,18 @@ pkgver() { build() { cd "$srcdir/hl/src" rm hl + # remove the inline keyword (https://github.com/mbornet-hl/hl/issues/4) sed "s/inline //g" -i cr_main.c make } package() { - cd "$srcdir/hl/src" install -d "$pkgdir/usr/bin" - install -m755 hl "$pkgdir/usr/bin/hl" + install -m755 "$srcdir/hl/src/hl" "$pkgdir/usr/bin" + gzip -9 -c "$srcdir/hl/man1/hl.1" > "$srcdir/hl/man1/hl.1.gz" + install -d "$pkgdir/usr/share/man/man1" + install -m644 "$srcdir/hl/man1/hl.1.gz" "$pkgdir/usr/share/man/man1" + gzip -9 -c "$srcdir/hl/man5/hl.5" > "$srcdir/hl/man5/hl.5.gz" + install -d "$pkgdir/usr/share/man/man5" + install -m644 "$srcdir/hl/man5/hl.5.gz" "$pkgdir/usr/share/man/man5" } |