Created
October 22, 2015 16:57
-
-
Save lubosz/71965c9377e4a18e35d6 to your computer and use it in GitHub Desktop.
wacom-utility-git
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pkgname=wacom-utility-git | |
pkgver=16.d634361 | |
pkgrel=1 | |
pkgdesc="Graphical tablet configuration utility" | |
arch=('i686' 'x86_64') | |
url="http://github.com/lubosz/wacom-utility.git" | |
license=('GPL') | |
depends=('gtk2' 'python2' 'xf86-input-wacom' 'gksu') | |
source=(wacom-utility.desktop) | |
conflicts=("wacom-utility") | |
replaces=("wacom-utility") | |
md5sums=('SKIP') | |
source=("git+http://github.com/lubosz/wacom-utility") | |
pkgver() { | |
cd wacom-utility | |
revision=$(git rev-list --count HEAD) | |
hash=$(git log --pretty=format:'%h' -n 1) | |
echo $revision.$hash | |
} | |
package() { | |
cd wacom-utility | |
mkdir -p "${pkgdir}"/usr/share/wacom-utility | |
mkdir -p "${pkgdir}"/usr/share/applications | |
cp -a ./* "${pkgdir}"/usr/share/wacom-utility | |
install -Dm644 "${startdir}"/wacom-utility.desktop "${pkgdir}"/usr/share/applications/ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment