blob: 877f072a9b200a000afe67328cb4854bc2f0d0ad (
plain)
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
|
# Maintainer: Radek Podgorny <radek@podgorny.cz>
pkgname=rcswitch-pi-git
pkgver=r10.1c4e20f
pkgrel=1
pkgdesc="rapberry pi library for rc controlled outlets"
arch=('armv6h')
url="https://github.com/rpodgorny/rcswitch-pi"
license=('GPL')
depends=('wiringpi')
provides=('rcswitch-pi')
conflicts=('rcswitch-pi')
source=('git+https://github.com/rpodgorny/rcswitch-pi.git')
md5sums=('SKIP')
pkgver() {
cd "$srcdir/rcswitch-pi"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$srcdir/rcswitch-pi"
#./configure --prefix=/usr
make
}
package() {
cd "$srcdir/rcswitch-pi"
make DESTDIR="$pkgdir/" install
}
|