diff options
-rw-r--r-- | .SRCINFO | 19 | ||||
-rw-r--r-- | .gitignore | 7 | ||||
-rw-r--r-- | PKGBUILD | 38 |
3 files changed, 64 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..735901879166 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,19 @@ +pkgbase = shellcheck-bin + pkgdesc = A shell script static analysis tool: Ubuntu binary build + pkgver = 0.3.7 + pkgrel = 1 + url = http://www.shellcheck.net/ + arch = i686 + arch = x86_64 + license = AGPL3 + depends = gmp + depends = libffi + provides = shellcheck + conflicts = shellcheck + source_i686 = http://archive.ubuntu.com/ubuntu/pool/universe/s/shellcheck/shellcheck_0.3.7-1_i386.deb + md5sums_i686 = 470c55b1d2e01d798da52b7047f9910e + source_x86_64 = http://archive.ubuntu.com/ubuntu/pool/universe/s/shellcheck/shellcheck_0.3.7-1_amd64.deb + md5sums_x86_64 = 8cd0fcf8c7eade51890b15e5b05cfc98 + +pkgname = shellcheck-bin + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..b32e95368c05 --- /dev/null +++ b/.gitignore @@ -0,0 +1,7 @@ +# makepkg files +pkg/ +src/ +*.xz + +# source files +*.deb diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..f9b1c1cc117e --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,38 @@ +# Maintainer: Eric Berquist <eric DOT berquist AT gmail DOT com> + +_pkgname=shellcheck +pkgname="${_pkgname}-bin" +pkgver=0.3.7 +pkgrel=1 +pkgdesc="A shell script static analysis tool: Ubuntu binary build" +arch=("i686" "x86_64") +url="http://www.shellcheck.net/" +license=('AGPL3') +depends=("gmp" "libffi") +provides=("${_pkgname}") +conflicts=("${_pkgname}") +source_i686=("http://archive.ubuntu.com/ubuntu/pool/universe/s/${_pkgname}/${_pkgname}_${pkgver}-1_i386.deb") +source_x86_64=("http://archive.ubuntu.com/ubuntu/pool/universe/s/${_pkgname}/${_pkgname}_${pkgver}-1_amd64.deb") +md5sums_i686=("470c55b1d2e01d798da52b7047f9910e") +md5sums_x86_64=("8cd0fcf8c7eade51890b15e5b05cfc98") + +package() { + cd "${srcdir}" + + bsdtar -xf data.tar.xz + + # binary + install -D -m 755 \ + "${srcdir}"/usr/bin/"${_pkgname}" \ + "${pkgdir}"/usr/bin/"${_pkgname}" + + # license + install -D -m 644 \ + "${srcdir}"/usr/share/doc/"${_pkgname}"/copyright \ + "${pkgdir}"/usr/share/licenses/"${_pkgname}"/LICENSE + + # manpage + install -D -m 644 \ + "${srcdir}"/usr/share/man/man1/"${_pkgname}".1.gz \ + "${pkgdir}"/usr/share/man/man1/"${_pkgname}".1.gz +} |