[arch-commits] Commit in checkbashisms (3 files)
Eli Schwartz
eschwartz at archlinux.org
Sun Jan 28 02:10:04 UTC 2018
Date: Sunday, January 28, 2018 @ 02:10:03
Author: eschwartz
Revision: 287567
archrelease: copy trunk to community-any
Added:
checkbashisms/repos/
checkbashisms/repos/community-any/
checkbashisms/repos/community-any/PKGBUILD
(from rev 287566, checkbashisms/trunk/PKGBUILD)
----------+
PKGBUILD | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
Copied: checkbashisms/repos/community-any/PKGBUILD (from rev 287566, checkbashisms/trunk/PKGBUILD)
===================================================================
--- repos/community-any/PKGBUILD (rev 0)
+++ repos/community-any/PKGBUILD 2018-01-28 02:10:03 UTC (rev 287567)
@@ -0,0 +1,20 @@
+# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
+
+pkgname=checkbashisms
+pkgver=2.17.12
+pkgrel=1
+pkgdesc='Debian script that checks for bashisms'
+arch=('any')
+url="https://packages.qa.debian.org/d/devscripts.html"
+license=('GPL')
+depends=('perl')
+source=("http://http.debian.net/debian/pool/main/d/devscripts/devscripts_${pkgver}.tar.xz")
+sha256sums=('08286f97e467d1fc69dee3441da1421f4655eb407b8f95703b70662f73142af2')
+
+package() {
+ cd "${srcdir}"/devscripts-${pkgver}/scripts
+
+ sed "s/###VERSION###/${pkgver}/g" checkbashisms.pl | install -Dm755 /dev/stdin "${pkgdir}"/usr/bin/checkbashisms
+ install -Dm644 checkbashisms.1 "${pkgdir}"/usr/share/man/man1/checkbashisms.1
+ install -Dm644 checkbashisms.bash_completion "${pkgdir}"/usr/share/bash-completion/completions/checkbashisms
+}
More information about the arch-commits
mailing list