summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO13
-rw-r--r--PKGBUILD21
2 files changed, 34 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..ef639886380
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,13 @@
+pkgbase = bashlint
+ pkgdesc = Simple Bash linting tool written in Python
+ pkgver = 0.1.0
+ pkgrel = 1
+ url = https://github.com/skudriashev/bashlint
+ arch = any
+ license = MIT
+ depends = python
+ source = https://github.com/skudriashev/bashlint/archive/0.1.0.tar.gz
+ sha256sums = e23df57b2297dd94b8f1f3718e3abd22adff382a37d53ce3565d1ef511f64132
+
+pkgname = bashlint
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..ac7844567b9
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,21 @@
+# Maintainer: Maxim Andersson <thesilentboatman@gmail.com>
+
+pkgname=bashlint
+pkgver=0.1.0
+pkgrel=1
+pkgdesc="Simple Bash linting tool written in Python"
+arch=('any')
+url="https://github.com/skudriashev/bashlint"
+license=('MIT')
+depends=('python')
+source=("https://github.com/skudriashev/${pkgname}/archive/${pkgver}.tar.gz")
+sha256sums=('e23df57b2297dd94b8f1f3718e3abd22adff382a37d53ce3565d1ef511f64132')
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+ python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et: