summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristoph Scholz2020-12-05 17:06:59 +0100
committerChristoph Scholz2020-12-05 17:06:59 +0100
commit70510f21b5e6ef0c2a02b4e13eb8fb3ad5f5062a (patch)
tree1c547a48815ba949a7941d44fbbd5098cd5323e6
downloadaur-70510f21b5e6ef0c2a02b4e13eb8fb3ad5f5062a.tar.gz
initial version
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD22
2 files changed, 36 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..cd2149ce4d7
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = openhab3-addons
+ pkgdesc = addons for openhab3 open source home automation software
+ pkgver = 3.0.0.M4
+ pkgrel = 1
+ url = http://www.openhab.org/
+ arch = any
+ license = EPL
+ depends = openhab3
+ conflicts = openhab3-snapshot-addons
+ source = openhab-addons-3.0.0.M4.kar::https://openhab.jfrog.io/openhab/libs-milestone-local/org/openhab/distro/openhab-addons/3.0.0.M4/openhab-addons-3.0.0.M4.kar
+ sha256sums = 05cee3fc3f880a52f9178d0c1797c1ac9126dee0900bc84f010af82ea23c7af2
+
+pkgname = openhab3-addons
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..53fab07a29c
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,22 @@
+# Maintainer: Christoph Scholz <christoph.scholz@gmail.com>
+_pkgbase=openhab3
+pkgname=${_pkgbase}-addons
+pkgver=3.0.0.M4
+pkgrel=1
+pkgdesc="addons for openhab3 open source home automation software"
+arch=("any")
+url="http://www.openhab.org/"
+license=("EPL")
+depends=("openhab3")
+
+conflicts=("openhab3-snapshot-addons")
+
+source=("openhab-addons-${pkgver}.kar::https://openhab.jfrog.io/openhab/libs-milestone-local/org/openhab/distro/openhab-addons/${pkgver}/openhab-addons-${pkgver}.kar")
+
+sha256sums=('05cee3fc3f880a52f9178d0c1797c1ac9126dee0900bc84f010af82ea23c7af2')
+
+package() {
+ mkdir -p "${pkgdir}/usr/share/${_pkgbase}/addons"
+ cp "${srcdir}/openhab-addons-${pkgver}.kar" "${pkgdir}/usr/share/${_pkgbase}/addons"
+ echo "z "/usr/share/${_pkgbase}/addons/openhab-addons-${pkgver}.kar" - ${_pkgbase} ${_pkgbase} -" | install -Dm644 /dev/stdin "${pkgdir}/usr/lib/tmpfiles.d/${pkgname}.conf"
+}