summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f26c68d810507ae035882f21b85b6d3ea4ca7aa4 (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
# Maintainer: Caleb Maclennan <caleb@alerque.com>
#
# Any suggestions welcome; please submit paches via Github:
# https://github.com/alerque/aur/tree/master/wacom-utility

pkgname=wacom-utility
pkgver=1.21
_uprel=3
pkgrel=6
pkgdesc='Graphical tablet configuration utility'
arch=('i686' 'x86_64')
url='https://www.linux-apps.com/content/show.php/Wacom+Control+Panel?content=104309'
license=('GPL')
depends=('gtk2' 'python2' 'pygtk' 'xf86-input-wacom' 'gksu')
source=("http://ppa.launchpad.net/hughescih/ppa/ubuntu/pool/main/w/$pkgname/${pkgname}_$pkgver-$_uprel.tar.gz"
        'wacom-utility.desktop')
sha256sums=('91b8e7e658071e67f3fb0b684ae815138789e810fb5c423b98f6ed550dbea972'
            'c6235b40e55aa7266d7bc47a2f11bcef98c3bb30c4d80223ee910c6b461bebc2')
package() {
    cd "$srcdir/$pkgname"
    mkdir -p "$pkgdir/usr/share/applications"
    install -Dm755 "$srcdir/$pkgname.desktop" "$pkgdir/usr/share/applications/"
    find \( -regex '.*\.\(py\|png\|xml\|glade\)' -or -name 'keymap.txt' \) \
        -exec install -D {} "$pkgdir/usr/share/$pkgname/{}" \;
}