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

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


    Date: Wednesday, January 30, 2019 @ 18:17:16
  Author: jlichtblau
Revision: 428656

argbash moved to [community]

Added:
  argbash/
  argbash/repos/
  argbash/trunk/
  argbash/trunk/PKGBUILD

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

Added: argbash/trunk/PKGBUILD
===================================================================
--- argbash/trunk/PKGBUILD	                        (rev 0)
+++ argbash/trunk/PKGBUILD	2019-01-30 18:17:16 UTC (rev 428656)
@@ -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