PKGBUILDs/alarm/odroid-c1-remote/PKGBUILD

30 lines
742 B
Bash
Raw Normal View History

2014-12-31 06:12:49 +00:00
# ODROID-C1 Remote Control Setup
# Maintainer: Kevin Mihelich <kevin@archlinuxarm.org>
buildarch=4
pkgname=odroid-c1-remote
pkgver=0.3
pkgrel=2
2014-12-31 06:12:49 +00:00
arch=('armv7h')
pkgdesc="ODROID-C1 remote control setup"
url="http://www.hardkernel.com/"
license=('Proprietary')
2015-01-14 02:11:19 +00:00
makedepends=('git')
source=("git+https://github.com/mdrjr/c1_irremote.git"
2014-12-31 06:12:49 +00:00
'odroid_remote.service')
2015-01-14 02:11:19 +00:00
md5sums=('SKIP'
2014-12-31 06:12:49 +00:00
'6866b4f07369de69ea6ec57a3304c484')
build() {
2015-01-14 02:11:19 +00:00
cd c1_irremote
2014-12-31 06:12:49 +00:00
make
}
package() {
2015-01-14 02:11:19 +00:00
cd c1_irremote
2014-12-31 06:12:49 +00:00
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"
}