Skip to content

Instantly share code, notes, and snippets.

@lubosz
Created October 22, 2015 16:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lubosz/71965c9377e4a18e35d6 to your computer and use it in GitHub Desktop.
Save lubosz/71965c9377e4a18e35d6 to your computer and use it in GitHub Desktop.
wacom-utility-git
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