summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTong Chunli2018-11-02 23:06:23 +0800
committerTong Chunli2018-11-02 23:06:23 +0800
commit55bfb50d57d37a613f64a436bde8b0973fd988c0 (patch)
tree49814972aed65e45eec152ced13acc92a6795b40
downloadaur-55bfb50d57d37a613f64a436bde8b0973fd988c0.tar.gz
Initial Commit
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD20
2 files changed, 34 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..17edcbc5ed0
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = python-colcon-bash
+ pkgdesc = An extension for colcon-core to provide Bash scripts.
+ pkgver = 0.3.1
+ pkgrel = 1
+ url = https://pypi.org/project/colcon-bash
+ arch = any
+ license = Apache
+ makedepends = python-setuptools
+ depends = python-colcon-core
+ source = https://files.pythonhosted.org/packages/08/48/48bf12b657b68bc8eeee64245a15d331cb6d204c9855f9bdb21c48517df3/colcon-bash-0.3.1.tar.gz
+ sha256sums = 980cdda566cf8722cdb6bf264ebef1036a8cebbf42f36a58b4495de2984948eb
+
+pkgname = python-colcon-bash
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..4dfefeb4aef
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,20 @@
+# Maintainer: Tong Chunli<t.cunly at 163 dot com>
+pkgname=python-colcon-bash
+pkgver=0.3.1
+pkgrel=1
+pkgdesc="An extension for colcon-core to provide Bash scripts."
+arch=(any)
+url="https://pypi.org/project/colcon-bash"
+license=('Apache')
+depends=('python-colcon-core')
+makedepends=('python-setuptools')
+source=("https://files.pythonhosted.org/packages/08/48/48bf12b657b68bc8eeee64245a15d331cb6d204c9855f9bdb21c48517df3/colcon-bash-$pkgver.tar.gz")
+sha256sums=('980cdda566cf8722cdb6bf264ebef1036a8cebbf42f36a58b4495de2984948eb')
+
+
+package() {
+ cd ${srcdir}/colcon-bash-${pkgver}
+
+ python setup.py install --root=${pkgdir} --prefix=/usr --optimize=1
+ install -D -m644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
+}