forked from kounch/argonone
-
Notifications
You must be signed in to change notification settings - Fork 19
/
PKGBUILD
37 lines (33 loc) · 1.59 KB
/
PKGBUILD
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Maintainer: Elrondo46 (https://github.com/Elrondo46)
# Contributor: kounch (https://github.com/kounch)
pkgname=argonone-rpi4
pkgver=20191209
pkgrel=1
pkgdesc="Argon One Service and Control Scripts"
arch=('any')
url='https://download.argon40.com/argon1.sh'
license=('GPL3')
depends=('i2c-tools' 'libffi' 'lm_sensors' 'python>=3.3')
provides=('argonone')
install=argonone.install
source=(
"https://raw.githubusercontent.com/Elrondo46/argonone/master/argonone-config"
"https://raw.githubusercontent.com/Elrondo46/argonone/master/argononed-poweroff.py"
"https://raw.githubusercontent.com/Elrondo46/argonone/master/argononed.conf"
"https://raw.githubusercontent.com/Elrondo46/argonone/master/argononed.py"
"https://raw.githubusercontent.com/Elrondo46/argonone/master/argononed.service"
)
sha256sums=(
"41831f2796691322131061a23a2c61b01d9d124416854963a2ba9c47a72d0850"
"a8ecb1a581bbc8b1d705b63797d5521cac92f87a53d087eb148de877957abc55"
"f6f82283a286c9694a5adc6db842fca2e75845f1ccf0bacfb7ce2efa3c8eaec3"
"33c86ea67e54082cc8627930567c127b61d30cafb979eccda32403a0a0587d12"
"1db1bc647690db29339ef4317b10738fe7fdbc379aad2149c9d0d353c42a3db4"
)
package() {
install -Dm755 "${srcdir}"/argonone-config "${pkgdir}"/usr/bin/argonone-config
install -Dm755 "${srcdir}"/argononed-poweroff.py "${pkgdir}"/usr/lib/systemd/system-shutdown/argononed-poweroff.py
install -Dm666 "${srcdir}"/argononed.conf "${pkgdir}"/etc/argononed.conf
install -Dm755 "${srcdir}"/argononed.py "${pkgdir}"/opt/argonone/bin/argononed.py
install -Dm644 "${srcdir}"/argononed.service "${pkgdir}"/usr/lib/systemd/system/argononed.service
}