mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-10 13:34:48 +08:00
34 lines
926 B
Bash
34 lines
926 B
Bash
|
|
pkgname=libwacom
|
|
pkgver=0.24
|
|
pkgrel=1
|
|
pkgdesc="Library to identify Wacom tablets and their features"
|
|
arch=('x86_64')
|
|
url="http://sourceforge.net/apps/mediawiki/linuxwacom/index.php?title=Libwacom"
|
|
license=('MIT')
|
|
depends=('glib2' 'systemd' 'libgudev')
|
|
source=(https://sourceforge.net/projects/linuxwacom/files/libwacom/$pkgname-$pkgver.tar.bz2)
|
|
sha256sums=('2905a0ee5cc85eceb9f5bd06109e66a051b0ed18102c3e6798717c259c8d66c3')
|
|
validpgpkeys=('9A12ECCC5383CA2AF5B42CDCA6DC66911B2127D5') #Jason Gerecke <killertofu@gmail.com>
|
|
|
|
build() {
|
|
cd $pkgname-$pkgver
|
|
./configure --prefix=/usr
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd $pkgname-$pkgver
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
cd $pkgname-$pkgver
|
|
make DESTDIR="$pkgdir" install
|
|
install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
|
install -m755 -d ${pkgdir}/usr/lib/udev/rules.d
|
|
cd tools
|
|
./generate-udev-rules > ${pkgdir}/usr/lib/udev/rules.d/65-libwacom.rules
|
|
|
|
}
|