mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
34 lines
1.3 KiB
Bash
34 lines
1.3 KiB
Bash
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
|
|
# Maintainer: Jeff Mickey <j@codemac.net>
|
|
# Contributor: Shadowhand <woody.gilk@gmail.com>
|
|
|
|
pkgname=lmctl
|
|
pkgver=0.3.2
|
|
pkgrel=4
|
|
pkgdesc="Logitech Mouse configuration program"
|
|
arch=('i686' 'x86_64')
|
|
license=('GPL')
|
|
url="http://www.bedroomlan.org/~alexios/coding_lmctl.html"
|
|
depends=('libusb')
|
|
source=(http://www.bedroomlan.org/~alexios/files/SOFTWARE/lmctl/$pkgname\_$pkgver.tar.gz \
|
|
mx-support-cmdline.patch mx-support-man.patch mx-support.patch \
|
|
lmctl.rc.d lmctl.conf.d)
|
|
md5sums=('c2acb088c95adeac68b6de8f05ddc0e4' '431521026fc07b27e21d65124dd1134f' \
|
|
'cfc222209b9a9d6b203c5a00dafe57dd' '1b943fe045d8273677be43c79bfd1031'
|
|
'a62ad322e93c1cbc931bba33fb0a518c' 'a77682cf2d2c9e3d1a53a6444a74ce66' )
|
|
|
|
build() {
|
|
cd $startdir/src/$pkgname-0.3.1
|
|
|
|
patch -Np1 < $startdir/src/mx-support-cmdline.patch || return 1
|
|
patch -Np1 < $startdir/src/mx-support-man.patch || return 1
|
|
patch -Np1 < $startdir/src/mx-support.patch || return 1
|
|
|
|
./configure --prefix=/usr --sysconfdir=/etc || return 1
|
|
make || return 1
|
|
make DESTDIR=$startdir/pkg install || return 1
|
|
|
|
# install the init scripts
|
|
install -D -m755 $startdir/lmctl.rc.d $startdir/pkg/etc/rc.d/lmctl
|
|
install -D -m644 $startdir/lmctl.conf.d $startdir/pkg/etc/conf.d/lmctl
|
|
}
|