[arch-commits] Commit in argbash/repos (community-any community-any/PKGBUILD)

Jaroslav Lichtblau jlichtblau at archlinux.org
Wed Jan 30 18:18:32 UTC 2019


    Date: Wednesday, January 30, 2019 @ 18:18:31
  Author: jlichtblau
Revision: 428657

archrelease: copy trunk to community-any

Added:
  argbash/repos/community-any/
  argbash/repos/community-any/PKGBUILD
    (from rev 428656, argbash/trunk/PKGBUILD)

----------+
 PKGBUILD |   28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

Copied: argbash/repos/community-any/PKGBUILD (from rev 428656, argbash/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2019-01-30 18:18:31 UTC (rev 428657)
@@ -0,0 +1,28 @@
+# Maintainer: Jaroslav Lichtblau <svetlemodry at archlinux.org>
+# Contributor: Matěj Týč <matej.tyc at gmail.com>
+
+pkgname=argbash
+pkgver=2.8.0
+pkgrel=2
+pkgdesc="Bash argument parsing code generator"
+arch=(any)
+url="https://argbash.io"
+license=('BSD')
+depends=('autoconf')
+makedepends=('make')
+checkdepends=('shellcheck')
+source=($pkgname-$pkgver.tar.gz::https://github.com/matejak/$pkgname/archive/$pkgver.tar.gz)
+sha256sums=('76e90afbcbffafd4593c9a3ec8f89bd05e48ad88aaa47119a14bd6cd67c3e5b5')
+
+check() {
+  cd $pkgname-$pkgver/resources
+
+  make check
+}
+
+package() {
+  cd $pkgname-$pkgver/resources
+
+  make ROOT="${pkgdir}" PREFIX="/usr" BASH_COMPLETION_DIRECTORY=/usr/share/bash-completion/completions/ INSTALL_COMPLETION=yes install
+  install -Dm644 ../LICENSE "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE
+}


More information about the arch-commits mailing list