Date: Thursday, January 5, 2023 @ 21:36:51 Author: jelle Revision: 1378399
upgpkg: zigbee2mqtt 1.29.0-1 Modified: zigbee2mqtt/trunk/PKGBUILD ----------+ PKGBUILD | 27 +++++++++++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2023-01-05 21:11:38 UTC (rev 1378398) +++ PKGBUILD 2023-01-05 21:36:51 UTC (rev 1378399) @@ -2,7 +2,7 @@ # Contributor: Sebastian Zwierzchowski <[email protected]> pkgname=zigbee2mqtt -pkgver=1.28.4 +pkgver=1.29.0 pkgrel=1 pkgdesc='A Zigbee to MQTT bridge' arch=('x86_64') @@ -15,7 +15,7 @@ options=(!emptydirs) source=(${pkgname}-${pkgver}.tar.gz::"https://github.com/Koenkk/${pkgname}/archive/${pkgver}.tar.gz" 'zigbee2mqtt.service' 'zigbee2mqtt.sysusers' 'zigbee2mqtt.tmpfiles') -sha256sums=('73062c2c9844fa4429bcf21a78a9f607d19459b02efb83e3a4e46c906cadc0a9' +sha256sums=('91975b77aedddaabea2a76abbe08e65de2fab648ad7befd2d326b0bdbb14395d' '04d58763942cc598ac858f003b174316b695c2a542b2788e50751c3077adf106' '3a86716e9036e97d885e9b5f37c7f87d9c2872435e4acf9fc4c9157264cf387b' 'b8cb53b06176abb09e74e68daee702263f3d471b249c51b1b32d693fc7354fd8') @@ -45,4 +45,27 @@ 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" + + # Cleanups + find ${pkgdir}/usr/share/webapps/zigbee2mqtt/node_modules -type d \ + \( \ + -iwholename '*.github' -o \ + -iwholename '*.tscache' -o \ + -iwholename '*/man' -o \ + -iwholename '*/test' -o \ + -iwholename '*/scripts' -o \ + -iwholename '*/git-hooks' -o \ + -iwholename '*/android-arm' -o \ + -iwholename '*/android-arm64' -o \ + -iwholename '*/linux-arm64' -o \ + -iwholename '*/linux-armvy' -o \ + -iwholename '*/linux-armv7' -o \ + -iwholename '*/linux-arm' -o \ + -iwholename '*/win32-ia32' -o \ + -iwholename '*/win32-x64' -o \ + -iwholename '*/darwin-x64' \ + -iwholename '*/darwin-x64\+arm64' \ + \) \ + -exec rm -rvf {} + + }
