Advertisement
Guest User

screencast-git PKGBUILD

a guest
Dec 12th, 2017
514
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.44 KB | None | 0 0
  1. # Maintainer: Daniel Bermond < yahoo-com: danielbermond >
  2.  
  3. _srcname=screencast
  4. pkgname=screencast-git
  5. pkgver=1.4.0.r166.gd8923d6
  6. pkgrel=1
  7. pkgdesc='Command line interface to record a X11 desktop (git version)'
  8. arch=('any')
  9. url='https://github.com/dbermond/screencast/'
  10. license=('GPL')
  11. depends=('ffmpeg' 'xorg-xdpyinfo' 'libnotify' 'oxygen-icons')
  12. makedepends=('git')
  13. optdepends=('bc: fade effect support'
  14.             'imagemagick: watermark effect support'
  15.             'slop: graphical screen region selection support'
  16.             'sound-theme-freedesktop: sound notification support'
  17.             'truepng: watermark optimization support'
  18.             'pingo: watermark optimization support'
  19.             'optipng: watermark optimization support'
  20.             'littleutils-full: watermark optimization support'
  21.             'advancecomp: watermark optimization support')
  22. provides=('screencast')
  23. conflicts=('screencast')
  24. source=("$_srcname"::'git+https://github.com/dbermond/screencast.git')
  25. sha256sums=('SKIP')
  26.  
  27. pkgver() {
  28.     cd "$_srcname"
  29.    
  30.     # git, tags available
  31.     git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/^v//'
  32. }
  33.  
  34. build() {
  35.     cd "$srcdir/$_srcname"
  36.     make
  37. }
  38.  
  39. package() {
  40.     cd "$srcdir/$_srcname"
  41.     make install \
  42.         DESTDIR="$pkgdir/" \
  43.         PREFIX="/usr" \
  44.         DOCDIR="/usr/share/doc"
  45.         MANDIR="/usr/share/man" \
  46.         BCOMPDIR="/usr/share/bash-completion/completions"
  47. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement