Skip to content

anonymous /PKGBUILD.c
Created

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
PKGBUILD
# Maintainer: Tai Chi Minh Ralph Eastwood <tcmreastwood@gmail.com>
# Contributor: Paolo Stivanin <admin@polslinux.it>
# Tai Chi Minh Ralph Eastwood <tcmreastwood@gmail.com>
pkgname=('psmouse-alps')
_kernelname=${pkgname#linux}
_basekernel=3.5
_patchver=${_basekernel}.4
pkgver=0.11
pkgrel=${_patchver}
pkgdesc="psmouse kernel module with support for alpsv5 touchpad"
arch=('i686' 'x86_64')
url="http://www.kernel.org/"
license=('GPL2')
makedepends=('linux-headers')
options=('!strip')
install=psmouse.install
source=(
http://www.kernel.org/pub/linux/kernel/v3.x/linux-${_patchver}.tar.bz2
https://github.com/bgamari/linux/commit/1527416a726b823225f97c4d733dcdd9df7f50d6.patch
)
md5sums=(
'95d5c7271ad448bc965bdb29339b6923'
'feca68ada9552815a385854f8131656f'
)
build() {
cd ${srcdir}/linux-${_basekernel}
patch -p1 -i ${srcdir}/1527416a726b823225f97c4d733dcdd9df7f50d6.patch
cd ${srcdir}/linux-${_basekernel}/drivers/input/mouse
make -C /usr/src/linux-`uname -r`/ M=`pwd` psmouse.ko
gzip -9 psmouse.ko
install -D -m 0644 psmouse.ko.gz ${pkgdir}/lib/modules/`uname -r`/updates/drivers/input/mouse/psmouse.ko.gz
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.