blob: 5f1a13d733ec61772dc343267fbb7d0ac5d0a4e6 (
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
30
31
32
33
34
|
# Maintainer: Ivan <vantu5z@mail.ru>
_pkgbase=synaptics-led
pkgname=synaptics-led-dkms
pkgver=6.11.2
pkgrel=1
arch=(i686 x86_64)
license=(GPL2)
url="https://github.com/vantu5z/synaptics-led"
pkgdesc="Synaptics LED enabled psmouse kernel module. DKMS version."
depends=('dkms' 'linux>=6.11.0')
makedepends=('git')
conflicts=("${_pkgbase}")
provides=("${_pkgbase}")
source=("https://github.com/vantu5z/synaptics-led/archive/refs/tags/${pkgver}.tar.gz"
'dkms.conf')
sha256sums=('dc443110cdaaf89c8320db75d3f70bd4828cff003eeca34138800de5577c124e'
'4bae506df68782fc57471eb983b3ec332694e642c43defeeeba3e3af0802b69f')
package() {
# Copy dkms.conf
cd ${srcdir}
install -Dm644 dkms.conf "${pkgdir}"/usr/src/${_pkgbase}-${pkgver}/dkms.conf
# Set name and version
sed -e "s/@_PKGBASE@/${_pkgbase}/" \
-e "s/@PKGVER@/${pkgver}/" \
-i "${pkgdir}"/usr/src/${_pkgbase}-${pkgver}/dkms.conf
# Copy sources (including Makefile)
cd ${srcdir}/${_pkgbase}-${pkgver}/synaptics-led
cp -r mouse/* "${pkgdir}"/usr/src/${_pkgbase}-${pkgver}/
}
|