blob: fe8b7bacd085ed789cc90648d94fc4f102649980 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# Maintainer: Ben Alex <ben.alex@acegi.com.au>
_pkgbase=openhab3
pkgname=${_pkgbase}-addons
pkgver=3.4.5
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/artifactory/libs-release/org/openhab/distro/openhab-addons/${pkgver}/openhab-addons-${pkgver}.kar")
sha256sums=('46bf46e1a03c2dee7555cc9ec25d36d24885d823b4f5bfbe4cb7844af0ed67dd')
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"
}
|