[arch-commits] Commit in argbash/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 16:17:13 UTC 2020


    Date: Tuesday, July 7, 2020 @ 16:17:13
  Author: felixonmars
Revision: 659203

archrelease: copy trunk to community-staging-any

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

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

Copied: argbash/repos/community-staging-any/PKGBUILD (from rev 659201, argbash/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-07-07 16:17:13 UTC (rev 659203)
@@ -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.1
+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=('78e11099fad64fdbe9d27b72852c92175ea45c2c7a4a399b7616909d93789af8')
+
+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