archrelease: copy trunk to extra-x86_64
[arch-packages.git] / mousetweaks / repos / extra-x86_64 / PKGBUILD
blobbb325a6954c6fe905d15c458a6ae8fe7a57e774f
1 # Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> 
2 # Contributor: Jan de Groot <jgc@archlinux.org>
4 pkgname=mousetweaks
5 pkgver=3.32.0
6 pkgrel=2
7 pkgdesc="Mouse accessibility enhancements"
8 url="https://wiki.gnome.org/Projects/Mousetweaks"
9 arch=(x86_64)
10 license=(GPL3 FDL)
11 depends=(libxtst gtk3 gsettings-desktop-schemas)
12 makedepends=(python git)
13 _commit=db65986e791c8dd001f8e295d19e374dd5e3efd5  # tags/3.32.0^0
14 source=("git+https://gitlab.gnome.org/GNOME/mousetweaks.git#commit=$_commit")
15 sha256sums=('SKIP')
17 pkgver() {
18   cd $pkgname
19   git describe --tags | sed 's/-/+/g'
22 prepare() {
23   cd $pkgname
24   NOCONFIGURE=1 ./autogen.sh
27 build() {
28   cd $pkgname
29   ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
30   make
33 check() {
34   make -C $pkgname check
37 package() {
38   DESTDIR="$pkgdir" make install -C $pkgname