mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
added aur/mochad 0.1.14-1
This commit is contained in:
parent
866bc7baa4
commit
f9b4f83aa1
1 changed files with 31 additions and 0 deletions
31
aur/mochad/PKGBUILD
Normal file
31
aur/mochad/PKGBUILD
Normal file
|
@ -0,0 +1,31 @@
|
|||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||
|
||||
plugrel=1
|
||||
|
||||
pkgname=mochad
|
||||
pkgver=0.1.14
|
||||
pkgrel=1
|
||||
pkgdesc="A Linux TCP gateway daemon for the X10 CM15A RF and PL controller and the CM19A RF controller"
|
||||
arch=('arm' 'armv7h')
|
||||
license=('GPL')
|
||||
url="http://mochad.sourceforge.net/"
|
||||
depends=('libusb')
|
||||
source=(http://downloads.sf.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz)
|
||||
md5sums=('e2e64c00f4809f16c9a2e0c882e77eb5')
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
|
||||
./configure --prefix=/usr --disable-dependency-tracking
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
|
||||
make DESTDIR="${pkgdir}" install-binPROGRAMS
|
||||
make DESTDIR="${pkgdir}" install-data-am
|
||||
install -D udev/91-usb-x10-controllers.rules "${pkgdir}/etc/udev/rules.d/91-usb-x10-controllers.rules"
|
||||
install -D hotplug2/20-usb-x10 "${pkgdir}/etc/hotplug.d/usb/20-usb-x10"
|
||||
install -D hotplug2/mochad "${pkgdir}/etc/rc.d/mochad"
|
||||
}
|
Loading…
Reference in a new issue