summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-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..2566707df4f
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = python-colcon-pkg-config
+ pkgdesc = An extension for colcon-core to set an environment variable to find pkg-config files.
+ pkgver = 0.1.0
+ pkgrel = 1
+ url = https://pypi.org/project/colcon-pkg-config/
+ arch = any
+ license = Apache
+ makedepends = python-setuptools
+ depends = python-colcon-core
+ source = https://files.pythonhosted.org/packages/7c/3f/9979f90a2dc5fe5da4341fab6c3035aaf885f2bf7177fc9de1ea36f3eacb/colcon-pkg-config-0.1.0.tar.gz
+ sha256sums = 81fc46d037159030ba7b23970c573a31cead315f3c2410101a3cec858ec6bfa3
+
+pkgname = python-colcon-pkg-config
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..29b7fe840d4
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,20 @@
+# Maintainer: Tong Chunli<t.cunly at 163 dot com>
+pkgname=python-colcon-pkg-config
+pkgver=0.1.0
+pkgrel=1
+pkgdesc="An extension for colcon-core to set an environment variable to find pkg-config files."
+arch=(any)
+url="https://pypi.org/project/colcon-pkg-config/"
+license=('Apache')
+depends=('python-colcon-core')
+makedepends=('python-setuptools')
+source=("https://files.pythonhosted.org/packages/7c/3f/9979f90a2dc5fe5da4341fab6c3035aaf885f2bf7177fc9de1ea36f3eacb/colcon-pkg-config-$pkgver.tar.gz")
+sha256sums=('81fc46d037159030ba7b23970c573a31cead315f3c2410101a3cec858ec6bfa3')
+
+
+package() {
+ cd ${srcdir}/colcon-pkg-config-${pkgver}
+
+ python setup.py install --root=${pkgdir} --prefix=/usr --optimize=1
+ install -D -m644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
+}