blob: dfad17f340ecdf60ae97ab1476985232b2bdf336 (
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
35
36
37
38
39
40
41
42
43
|
# Maintainer: Márcio Silva <coadde@lavabit.com>
pkgname=xf86-input-wizardpen
_pkgname=${pkgname:11}
pkgver=0.8.1
pkgrel=4
pkgdesc="X.Org ${_pkgname^}/Genius tablet driver for GNU/Linux-libre"
arch=(
i686
x86_64
mips64el
)
url=https://launchpad.net/$_pkgname
license=GPL2
depends=glibc
makedepends=xorg-server-devel
conflicts=(
$_pkgname
$_pkgname-driver
)
replaces=(
$_pkgname
$_pkgname-driver
)
source=http://launchpad.net/$_pkgname/trunk/${pkgver::3}/+download/${pkgname/xf86/xorg}-$pkgver.tar.bz2
sha512sums=8830febe579231a2990dd31fad7db1d16424ad01b7226e0b09bd6287070f8099338f2f3e4d715772ed6616d7e13b52e83e816c400b638d47f1f92c30ec677d59
prepare() {
cd $srcdir/${pkgname/xf86/xorg}-$pkgver
sed -i -e 's|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|' configure.ac
}
build() {
cd $srcdir/${pkgname/xf86/xorg}-$pkgver
setarch $CARCH ./autogen.sh --prefix=/usr\
--with-xorg-conf-dir=/etc/X11/xorg.conf.d
setarch $CARCH make
}
package() {
cd $srcdir/${pkgname/xf86/xorg}-$pkgver
setarch $CARCH make DESTDIR=$pkgdir install
}
|