Compare commits

...

6 Commits

Author SHA1 Message Date
130188e9c9 upgpkg: zwavejs2mqtt 5.2.0-1
upstream release
2021-06-29 23:32:41 +02:00
6e08ae2b29 upgpkg: victoriametrics 1.60.0-1
upstream release
2021-06-08 16:00:23 +02:00
fe1f57ad39 upgpkg: zwavejs2mqtt 4.5.0-1
added systemd service
2021-05-30 02:09:42 +02:00
dff931a7b4 Initial upload: zwavejs2mqtt 4.5.0-1 2021-05-30 02:05:01 +02:00
ddb7225fe2 Initial upload: antidot 0.6.2-1 2021-05-08 18:16:54 +02:00
db0e4c06e9 upgpkg: pyfan 1.6-1
upstream release
2021-04-29 09:32:04 +02:00
11 changed files with 136 additions and 11 deletions

14
antidot/.SRCINFO Normal file
View File

@@ -0,0 +1,14 @@
pkgbase = antidot
pkgdesc = Cleans up your $HOME from those pesky dotfiles
pkgver = 0.6.2
pkgrel = 1
url = https://github.com/doron-cohen/antidot
arch = x86_64
license = MIT
makedepends = go
depends = glibc
source = https://github.com/doron-cohen/antidot/archive/refs/tags/v0.6.2.tar.gz
b2sums = a203c50f8e5f407769d3897ac6965c01b8291757bc0b2ce2e2b6a0b996dabf9e0fed09e69c6db7157bed48171bdeb9d1fcb4dd6b6e2b2bbd5d6f7b3264f12202
pkgname = antidot

35
antidot/PKGBUILD Normal file
View File

@@ -0,0 +1,35 @@
# Maintainer: Giovanni Harting <539@idlegandalf.com>
pkgname=antidot
pkgver=0.6.2
pkgrel=1
pkgdesc='Cleans up your $HOME from those pesky dotfiles'
arch=('x86_64')
url="https://github.com/doron-cohen/$pkgname"
license=('MIT')
depends=('glibc')
makedepends=('go')
source=("https://github.com/doron-cohen/$pkgname/archive/refs/tags/v$pkgver.tar.gz")
b2sums=('a203c50f8e5f407769d3897ac6965c01b8291757bc0b2ce2e2b6a0b996dabf9e0fed09e69c6db7157bed48171bdeb9d1fcb4dd6b6e2b2bbd5d6f7b3264f12202')
prepare(){
cd "$pkgname-$pkgver"
mkdir -p build/
}
build() {
cd "$pkgname-$pkgver"
export CGO_CPPFLAGS="${CPPFLAGS}"
export CGO_CFLAGS="${CFLAGS}"
export CGO_CXXFLAGS="${CXXFLAGS}"
export CGO_LDFLAGS="${LDFLAGS}"
export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw"
go build -o build
}
package() {
cd "$pkgname-$pkgver"
install -Dm755 build/$pkgname "$pkgdir"/usr/bin/$pkgname
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}

View File

@@ -1,6 +1,6 @@
pkgbase = pyfan
pkgdesc = Fan control utilising hwmon and pid
pkgver = 1.5.1
pkgver = 1.6
pkgrel = 1
url = https://git.harting.dev/anonfunc/PyFan
arch = any
@@ -9,8 +9,8 @@ pkgbase = pyfan
depends = python-simple-pid
optdepends = lm_sensors: check and load required hwmon modules
backup = etc/pyfan
source = https://git.harting.dev/anonfunc/PyFan/archive/1.5.1.tar.gz
b2sums = 73c6c83aa19922f20fc56bbde339e4d99f8fee585c52fe57a2e92e50cab5c7e9f20b52fd5446f19c68617673e5b68cefa418aae609c63b37d227a869e35760ee
source = https://git.harting.dev/anonfunc/PyFan/archive/1.6.tar.gz
b2sums = 858866a2c9b4598eef0b717de491d7c66e799c8d77d461cb7d379d21733c772899d118d2f1a51db4809a7462d0eb45c871c09d05dec9c311ca0b5c70708f1c74
pkgname = pyfan

View File

@@ -1,7 +1,7 @@
# Maintainer: Giovanni Harting <539@idlegandalf.com>
pkgname=pyfan
pkgver=1.5.1
pkgver=1.6
pkgrel=1
pkgdesc="Fan control utilising hwmon and pid"
arch=('any')
@@ -11,7 +11,7 @@ depends=('python-yaml' 'python-simple-pid')
optdepends=('lm_sensors: check and load required hwmon modules')
backup=('etc/pyfan')
source=("https://git.harting.dev/anonfunc/PyFan/archive/$pkgver.tar.gz")
b2sums=('73c6c83aa19922f20fc56bbde339e4d99f8fee585c52fe57a2e92e50cab5c7e9f20b52fd5446f19c68617673e5b68cefa418aae609c63b37d227a869e35760ee')
b2sums=('858866a2c9b4598eef0b717de491d7c66e799c8d77d461cb7d379d21733c772899d118d2f1a51db4809a7462d0eb45c871c09d05dec9c311ca0b5c70708f1c74')
package() {
cd "$pkgname"

View File

@@ -1,6 +1,6 @@
pkgbase = victoriametrics
pkgdesc = Fast, cost-effective and scalable time series database
pkgver = 1.58.0
pkgver = 1.60.0
pkgrel = 1
url = https://victoriametrics.github.io
arch = x86_64
@@ -8,12 +8,11 @@ pkgbase = victoriametrics
makedepends = go
depends = glibc
backup = etc/default/victoriametrics
source = https://github.com/VictoriaMetrics/VictoriaMetrics/archive/v1.58.0.tar.gz
source = https://github.com/VictoriaMetrics/VictoriaMetrics/archive/v1.60.0.tar.gz
source = victoriametrics.service
source = victoriametrics.default
sha256sums = 21ea23788ac7b683d9d1f2788de7001699fcf440b0c3d0e877596f5d09143c5f
sha256sums = c329a722f8b95b5f4e66d5d065d5437c12d08d1bc227655aef285c32a492de91
sha256sums = 8b264a0843ef9ed06b144220b5607027014c7af459293eadd0a3ffcbc05251d2
sha256sums = 0fc91310e2c3140bd90b2fad62f497d8e7432cf3a2a8ab3a034b45958e01012a
pkgname = victoriametrics

View File

@@ -3,7 +3,7 @@
pkgname=victoriametrics
_capname=VictoriaMetrics
pkgver=1.58.0
pkgver=1.60.0
pkgrel=1
pkgdesc="Fast, cost-effective and scalable time series database"
arch=('x86_64')
@@ -15,7 +15,7 @@ backup=('etc/default/victoriametrics')
source=("https://github.com/VictoriaMetrics/VictoriaMetrics/archive/v$pkgver.tar.gz"
"victoriametrics.service"
"victoriametrics.default")
sha256sums=('21ea23788ac7b683d9d1f2788de7001699fcf440b0c3d0e877596f5d09143c5f'
sha256sums=('c329a722f8b95b5f4e66d5d065d5437c12d08d1bc227655aef285c32a492de91'
'8b264a0843ef9ed06b144220b5607027014c7af459293eadd0a3ffcbc05251d2'
'0fc91310e2c3140bd90b2fad62f497d8e7432cf3a2a8ab3a034b45958e01012a')

21
zwavejs2mqtt/.SRCINFO Normal file
View File

@@ -0,0 +1,21 @@
pkgbase = zwavejs2mqtt
pkgdesc = Zwave to Mqtt gateway and Control Panel Web UI.
pkgver = 5.2.0
pkgrel = 1
url = https://github.com/zwave-js/zwavejs2mqtt
arch = x86_64
license = MIT
makedepends = yarn
makedepends = node-gyp
depends = nodejs
backup = etc/zwavejs2mqtt/app.ts
source = https://github.com/zwave-js/zwavejs2mqtt/archive/refs/tags/v5.2.0.tar.gz
source = zwavejs2mqtt.sysusers
source = zwavejs2mqtt.tmpfiles
source = zwavejs2mqtt.service
b2sums = d9e6c8e0a9e473a2ebf2c7ce2509be0dcc3d7a1bc25a2ca54cdfc99af00c03cdeece603d046777827e94ef72901bd53b96d5ccd9d1d4589ababe2ad695b13008
b2sums = d4a834bd7c8e4c832128f9f9c0ffb9d4409424402ba9c28a430a2d41d19cf780ba606c27b5f3b71f7640caa9883724647f2779cfa3cf2714564eb5e58b6144e2
b2sums = 2324c50252e1005b1ec06bf73e9d05937472397f5fc533e7ab468d416bcb6b5d01b87055a41d3b3a5b44b24e02ca45fafb5f79085833988ec458ee72c1d8c31b
b2sums = 48f4a894227918086b7a55a1d20a94cff08088552c7d655a24cddd92e76e74e19cefd4cd7abeb744c0e254bef36cf9e79442dc56c2006ec6a6e94e005a0e906f
pkgname = zwavejs2mqtt

39
zwavejs2mqtt/PKGBUILD Normal file
View File

@@ -0,0 +1,39 @@
# Maintainer: Giovanni Harting
pkgname=zwavejs2mqtt
pkgver=5.2.0
pkgrel=1
pkgdesc="Zwave to Mqtt gateway and Control Panel Web UI."
arch=(x86_64)
url="https://github.com/zwave-js/zwavejs2mqtt"
license=('MIT')
depends=(nodejs)
makedepends=(yarn node-gyp)
backup=("etc/zwavejs2mqtt/app.ts")
source=("https://github.com/zwave-js/$pkgname/archive/refs/tags/v$pkgver.tar.gz"
"$pkgname.sysusers"
"$pkgname.tmpfiles"
"$pkgname.service")
b2sums=('d9e6c8e0a9e473a2ebf2c7ce2509be0dcc3d7a1bc25a2ca54cdfc99af00c03cdeece603d046777827e94ef72901bd53b96d5ccd9d1d4589ababe2ad695b13008'
'd4a834bd7c8e4c832128f9f9c0ffb9d4409424402ba9c28a430a2d41d19cf780ba606c27b5f3b71f7640caa9883724647f2779cfa3cf2714564eb5e58b6144e2'
'2324c50252e1005b1ec06bf73e9d05937472397f5fc533e7ab468d416bcb6b5d01b87055a41d3b3a5b44b24e02ca45fafb5f79085833988ec458ee72c1d8c31b'
'48f4a894227918086b7a55a1d20a94cff08088552c7d655a24cddd92e76e74e19cefd4cd7abeb744c0e254bef36cf9e79442dc56c2006ec6a6e94e005a0e906f')
build() {
cd "$pkgname-$pkgver"
yarn install
yarn run build
}
package() {
cd "$pkgname-$pkgver"
install -d "$pkgdir"/usr/share/webapps/$pkgname "$pkgdir"/etc/$pkgname/ "$pkgdir"/var/lib/$pkgname
cp -r {node_modules,bin,lib,dist/static,server,app.ts} "$pkgdir"/usr/share/webapps/$pkgname
cp -r config/* "$pkgdir"/etc/$pkgname/
ln -s /etc/$pkgname/ "$pkgdir"/usr/share/webapps/$pkgname/config
ln -s /var/lib/$pkgname "$pkgdir"/usr/share/webapps/$pkgname/store
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
install -Dm644 "${srcdir}"/$pkgname.sysusers "${pkgdir}"/usr/lib/sysusers.d/$pkgname.conf
install -Dm644 "${srcdir}"/$pkgname.tmpfiles "${pkgdir}"/usr/lib/tmpfiles.d/$pkgname.conf
install -Dm644 "${srcdir}"/$pkgname.service -t "$pkgdir"/usr/lib/systemd/system/
}

View File

@@ -0,0 +1,15 @@
[Unit]
Description=zwavejs2mqtt nodejs daemon
After=network.target
[Service]
Type=simple
User=zwavejs2mqtt
Group=zwavejs2mqtt
ExecStart=/usr/bin/node /usr/share/webapps/zwavejs2mqtt/server/bin/www.js
PrivateTmp=true
ProtectSystem=full
ProtectHome=true
[Install]
WantedBy=multi-user.target

View File

@@ -0,0 +1 @@
u zwavejs2mqtt - "zwavejs2mqtt user" /var/lib/zwavejs2mqtt

View File

@@ -0,0 +1 @@
d /var/lib/zwavejs2mqtt - zwavejs2mqtt zwavejs2mqtt -