summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTong Chunli2018-11-05 20:33:09 +0800
committerTong Chunli2018-11-05 20:33:09 +0800
commit86f125792a128fc0b69d09a380f936d1b18f4ddb (patch)
tree3d936faafe288b77fb88393580010971db0980e2
downloadaur-86f125792a128fc0b69d09a380f936d1b18f4ddb.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..d2561d87b3e
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = python-colcon-cmake
+ pkgdesc = An extension for colcon-core to support CMake projects.
+ pkgver = 0.2.4
+ pkgrel = 1
+ url = https://pypi.org/project/colcon-cmake/
+ arch = any
+ license = Apache
+ makedepends = python-setuptools
+ depends = python-colcon-core
+ source = https://files.pythonhosted.org/packages/b7/44/c23d6e2785ff71f609d959653a8db6d2e0cf8c36aa2f10f371d83ee61f00/colcon-cmake-0.2.4.tar.gz
+ sha256sums = e33d6c6947a1be7da1fa20e2b55cf40c49448e804a28513308097fc4a95e4d2c
+
+pkgname = python-colcon-cmake
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..4ffc39dd55e
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,20 @@
+#Maintainer: Tong Chunli<t.cunly at 163 dot com>
+pkgname=python-colcon-cmake
+pkgver=0.2.4
+pkgrel=1
+pkgdesc="An extension for colcon-core to support CMake projects."
+arch=(any)
+url="https://pypi.org/project/colcon-cmake/"
+license=('Apache')
+depends=('python-colcon-core')
+makedepends=('python-setuptools')
+source=("https://files.pythonhosted.org/packages/b7/44/c23d6e2785ff71f609d959653a8db6d2e0cf8c36aa2f10f371d83ee61f00/colcon-cmake-$pkgver.tar.gz")
+sha256sums=('e33d6c6947a1be7da1fa20e2b55cf40c49448e804a28513308097fc4a95e4d2c')
+
+
+package() {
+ cd ${srcdir}/colcon-cmake-${pkgver}
+
+ python setup.py install --root=${pkgdir} --prefix=/usr --optimize=1
+ install -D -m644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
+}