SHARE
TWEET

gromit-mpx-git 1.2 PKGBUILD

a guest Dec 5th, 2016 82 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. pkgname=gromit-mpx-git
  2. _gitname=gromit-mpx
  3. pkgver=1.2.r7.g295a34b
  4. pkgrel=1
  5. pkgdesc="Desktop annotation tool. GTK3 multi-pointer variant of original gromit utility."
  6. arch=('i686' 'x86_64')
  7. url="https://github.com/bk138/gromit-mpx"
  8. license=("custom:Public Domain")
  9. depends=('gtk3' 'libappindicator-gtk3')
  10. makedepends=('cmake')
  11. provides=('gromit')
  12. conflicts=('gromit')
  13. source=("git://github.com/bk138/gromit-mpx.git")
  14. md5sums=('SKIP')
  15.  
  16. pkgver() {
  17.     cd "$srcdir/$_gitname"
  18.     git describe --long --tags | sed -r 's/([^-]*-g)/r\1/;s/-/./g'
  19. }
  20.  
  21. build() {
  22.     cd "$srcdir/$_gitname"
  23.     cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr
  24.     make
  25. }
  26.  
  27. package() {
  28.     cd "$srcdir/$_gitname"
  29.     make DESTDIR="$pkgdir/" install
  30. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top