mirror of
https://github.com/archlinux/aur.git
synced 2026-02-04 14:29:01 +01:00
Add systemd service file
This commit is contained in:
parent
828b41bd80
commit
2e6f9cdfdf
3 changed files with 21 additions and 4 deletions
4
.SRCINFO
4
.SRCINFO
|
|
@ -1,7 +1,7 @@
|
|||
pkgbase = pilight-git
|
||||
pkgdesc = Send and receive 433.92Mhz codes
|
||||
pkgver = v2.0.r0.g172149f
|
||||
pkgrel = 3
|
||||
pkgrel = 4
|
||||
url = http://pilight.org/
|
||||
arch = x86_64
|
||||
arch = armv6h
|
||||
|
|
@ -11,8 +11,10 @@ pkgbase = pilight-git
|
|||
makedepends = glibc
|
||||
source = git+https://github.com/pilight/pilight.git
|
||||
source = https://raw.github.com/pschmitt/pilight-git/master/Makefile
|
||||
source = https://raw.github.com/pschmitt/pilight/master/pilight.service
|
||||
sha256sums = SKIP
|
||||
sha256sums = 8669f4366b60f9ff6e17cbab219654a3c81e4e5f0a0e8e79779e3a3297fae760
|
||||
sha256sums = 826f51966a2fbaf00ea8b3900010142f6974420e475874a314ad5466811a6bd9
|
||||
|
||||
pkgname = pilight-git
|
||||
|
||||
|
|
|
|||
11
PKGBUILD
11
PKGBUILD
|
|
@ -3,14 +3,18 @@
|
|||
pkgname=pilight-git
|
||||
_pkgname=pilight
|
||||
pkgver=v2.0.r0.g172149f
|
||||
pkgrel=3
|
||||
pkgrel=4
|
||||
pkgdesc="Send and receive 433.92Mhz codes"
|
||||
arch=('x86_64' 'armv6h')
|
||||
url="http://pilight.org/"
|
||||
license=('GPL3')
|
||||
makedepends=('git' 'gcc' 'glibc')
|
||||
source=(git+https://github.com/pilight/pilight.git 'https://raw.github.com/pschmitt/pilight-git/master/Makefile')
|
||||
sha256sums=('SKIP' '8669f4366b60f9ff6e17cbab219654a3c81e4e5f0a0e8e79779e3a3297fae760')
|
||||
source=('git+https://github.com/pilight/pilight.git'
|
||||
'https://raw.github.com/pschmitt/pilight-git/master/Makefile'
|
||||
'https://raw.github.com/pschmitt/pilight/master/pilight.service')
|
||||
sha256sums=('SKIP'
|
||||
'8669f4366b60f9ff6e17cbab219654a3c81e4e5f0a0e8e79779e3a3297fae760'
|
||||
'826f51966a2fbaf00ea8b3900010142f6974420e475874a314ad5466811a6bd9')
|
||||
|
||||
pkgver() {
|
||||
cd "${srcdir}/${_pkgname}"
|
||||
|
|
@ -36,5 +40,6 @@ build() {
|
|||
package() {
|
||||
cd "${srcdir}/${_pkgname}"
|
||||
make DESTDIR="$pkgdir/" install
|
||||
install -Dm644 "${srcdir}/pilight.service" "${pkgdir}/usr/lib/systemd/system/pilight.service"
|
||||
}
|
||||
|
||||
|
|
|
|||
10
pilight.service
Normal file
10
pilight.service
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
[Unit]
|
||||
Description=Pilight daemon
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/pilight-daemon
|
||||
Type=forking
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
||||
Loading…
Add table
Reference in a new issue