mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
added alarm/odroid-c1-remote
This commit is contained in:
parent
aa012f0840
commit
d01ff61c34
2 changed files with 38 additions and 0 deletions
28
alarm/odroid-c1-remote/PKGBUILD
Normal file
28
alarm/odroid-c1-remote/PKGBUILD
Normal file
|
@ -0,0 +1,28 @@
|
|||
# ODROID-C1 Remote Control Setup
|
||||
# Maintainer: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||
|
||||
buildarch=4
|
||||
|
||||
pkgname=odroid-c1-remote
|
||||
pkgver=0.3
|
||||
pkgrel=1
|
||||
arch=('armv7h')
|
||||
pkgdesc="ODROID-C1 remote control setup"
|
||||
url="http://www.hardkernel.com/"
|
||||
license=('Proprietary')
|
||||
source=("http://archlinuxarm.org/builder/src/${pkgname}-${pkgver}.tar.gz"
|
||||
'odroid_remote.service')
|
||||
md5sums=('ff5a3fa381f077dafaee167cdd399cc3'
|
||||
'6866b4f07369de69ea6ec57a3304c484')
|
||||
|
||||
build() {
|
||||
cd ${pkgname}
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd ${pkgname}
|
||||
install -Dm644 "${srcdir}/odroid_remote.service" "${pkgdir}/usr/lib/systemd/system/odroid_remote.service"
|
||||
install -Dm755 odroid_remote "${pkgdir}/usr/bin/odroid_remote"
|
||||
install -Dm644 odroid_remote.conf "${pkgdir}/etc/odroid_remote.conf"
|
||||
}
|
10
alarm/odroid-c1-remote/odroid_remote.service
Normal file
10
alarm/odroid-c1-remote/odroid_remote.service
Normal file
|
@ -0,0 +1,10 @@
|
|||
[Unit]
|
||||
Description=ODROID-C1 Remote Control Setup
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
RemainAfterExit=yes
|
||||
ExecStart=/usr/bin/odroid_remote /etc/odroid_remote.conf
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Reference in a new issue