mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
alarm/odroid-c1-remote to r1.00b09c9-1
This commit is contained in:
parent
32383519d9
commit
4a08f8ed65
1 changed files with 11 additions and 5 deletions
|
@ -4,24 +4,30 @@
|
|||
buildarch=4
|
||||
|
||||
pkgname=odroid-c1-remote
|
||||
pkgver=0.3
|
||||
pkgver=r1.00b09c9
|
||||
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"
|
||||
makedepends=('git')
|
||||
source=("git+https://github.com/mdrjr/c1_irremote.git"
|
||||
'odroid_remote.service')
|
||||
md5sums=('ff5a3fa381f077dafaee167cdd399cc3'
|
||||
md5sums=('SKIP'
|
||||
'6866b4f07369de69ea6ec57a3304c484')
|
||||
|
||||
pkgver() {
|
||||
cd c1_irremote
|
||||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
||||
}
|
||||
|
||||
build() {
|
||||
cd ${pkgname}
|
||||
cd c1_irremote
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd ${pkgname}
|
||||
cd c1_irremote
|
||||
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"
|
||||
|
|
Loading…
Reference in a new issue