Package Details: zigbee2mqtt-git 1.25.0.r68.g7d7f8aab-2

Git Clone URL: https://aur.archlinux.org/zigbee2mqtt-git.git (read-only, click to copy)
Package Base: zigbee2mqtt-git
Description: A Zigbee to MQTT bridge
Upstream URL: https://www.zigbee2mqtt.io
Keywords: mqtt zigbee
Licenses: GPL3
Conflicts: zigbee2mqtt
Provides: zigbee2mqtt
Submitter: PiC0
Maintainer: None
Last Packager: bhedrich
Votes: 2
Popularity: 0.000000
First Submitted: 2019-08-03 17:13 (UTC)
Last Updated: 2022-04-30 10:36 (UTC)

Dependencies (7)

Required by (0)

Sources (4)

Latest Comments

MarsSeed commented on 2024-08-17 15:54 (UTC)

@connaisseur, the git describe flag --abbrev=7 is a misguided and problematic recommendation of the Arch Wiki. It should not be added.

Instead, one should omit that flag, and let git itself decide the shorthash length.

By default, it is 7 chars long, but for big repos, there is an increased chance of shorthash collision (multiple commits having the same beginning), therefore in such cases git automatically increases the shorthash length, to guarantee 1-to-1 mapping between each shorthash and its full hash counterpart.

connaisseur commented on 2024-05-29 04:53 (UTC) (edited on 2024-05-29 04:54 (UTC) by connaisseur)

Suggest an update to the pkgver function for matching the REAL current edit to the dev tag:

git describe --long --tags --abbrev=7 | sed 's/^zigbee2mqtt.//;s/([^-]*-g)/r\1/;s/-/./g'

Nilux commented on 2022-11-04 11:04 (UTC)

node: error while loading shared libraries: libicui18n.so.71

Resolved by downgrading icu to 71.1

buckket commented on 2021-02-02 23:41 (UTC)

@Frans-Willem: Thanks for pointing it out. When I merged the changes of the stable package I totally forgot about the different ${pkgname}. It is fixed now.

Frans-Willem commented on 2021-01-29 12:13 (UTC)

There are several mistakes in the package function of this PKGBUILD: - references a tar file of a normal release, which isn't there when cloning from git - references the tar download folder, should instead be ${_pkgname} - references ${pkgname} in several places where it should reference ${_pkgname}

Changing package to this should work:

package() {
  npm install -g --user root --prefix "${pkgdir}/usr" --cache "${srcdir}/npm-cache" "${srcdir}/${_pkgname}/"

  find "${pkgdir}/usr" -type d -exec chmod 755 {} +
  chown -R root:root "${pkgdir}"

  find "${pkgdir}" -name package.json -print0 | xargs -r -0 sed -i '/_where/d'

  cd "${_pkgname}"
  install -Dm644 data/configuration.yaml "${pkgdir}/etc/${_pkgname}/configuration.yaml"

  install -Dm644 "${srcdir}/${_pkgname}.service" "${pkgdir}/usr/lib/systemd/system/${_pkgname}.service"
  install -Dm644 "${srcdir}/${_pkgname}.sysusers" "${pkgdir}/usr/lib/sysusers.d/${_pkgname}.conf"
  install -Dm644 "${srcdir}/${_pkgname}.tmpfiles" "${pkgdir}/usr/lib/tmpfiles.d/${_pkgname}.conf"
}

depau commented on 2020-01-25 15:58 (UTC)

Hi, architecture is not "any". It compiles stuff too.

buckket commented on 2019-11-07 17:34 (UTC)

npm is not only a make dependency when used to start zigbee2mqtt (ExecStart=/usr/bin/npm start)

PiC0 commented on 2019-08-22 19:38 (UTC)

Are you sure ? There is not a single line of python in zigbee2mqtt, and the doc doesn't mention python. What part would need python2 ?

oxplot commented on 2019-08-22 13:56 (UTC)

Needs python2 as a dep