diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-01-16 03:37:59 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-01-16 03:37:59 +0000 |
commit | b296a78e1469d58c52acc47586bd5bb84f25fc0f (patch) | |
tree | a7bd50ca00f66f43ab58a4e79740737a82cf6991 /community/lomoco/PKGBUILD | |
parent | 154321f7346db5c32dbdf9c730735969eabbd88f (diff) |
Thu Jan 16 03:32:12 UTC 2014
Diffstat (limited to 'community/lomoco/PKGBUILD')
-rw-r--r-- | community/lomoco/PKGBUILD | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/community/lomoco/PKGBUILD b/community/lomoco/PKGBUILD index 9bc113f3e..fb90d988c 100644 --- a/community/lomoco/PKGBUILD +++ b/community/lomoco/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 99898 2013-10-31 02:21:19Z allan $ +# $Id: PKGBUILD 104089 2014-01-15 13:38:02Z spupykin $ # Maintainer: Jeff Mickey <j@codemac.net> # Contributor: Shadowhand <woody.gilk@gmail.com> pkgname=lomoco pkgver=1.0 -pkgrel=8 +pkgrel=9 url="http://www.lomoco.org/" pkgdesc="Logitech USB mouse configuration program" license=('GPL') @@ -14,19 +14,30 @@ arch=('i686' 'x86_64') backup=(etc/udev/lomoco_mouse.conf) source=(http://www.lomoco.org/${pkgname}-${pkgver}.tar.gz "lomoco_mx518.patch::https://bugs.archlinux.org/task/28180?getfile=8163" + "lomoco_mxair.patch::https://bugs.archlinux.org/task/36657?getfile=10920" lomoco_mouse.conf lomoco.sh) md5sums=('f5197d0a3ee81229c3eecc1e03f7b08d' '87aeccb99413faf9e49453215c3d0b8a' + 'd0390dfcadae6e54a4af3e6227d24201' '182b10a7e4a1828a93c1d55ef7f81b97' 'bc92f661641265b33b27895ef24028fd') -build() { +prepare() { cd ${srcdir}/${pkgname}-${pkgver} patch -p1 <$srcdir/lomoco_mx518.patch + patch -p0 <$srcdir/lomoco_mxair.patch +} + +build() { + cd ${srcdir}/${pkgname}-${pkgver} ./autogen.sh --prefix=/usr --mandir=/usr/share/man make make udev-rules +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} make DESTDIR=${pkgdir} install # Fix and install udev rules and helpers |