SHARE
TWEET

Untitled

TZ86 May 9th, 2014 238 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Maintainer: Alex Mason <alex@judgementstudios.com>
  2. # Contributor: Andy Weidenbaum <archbaum@gmail.com>
  3.  
  4. pkgname=castawesome
  5. pkgver=0.14.5
  6. pkgrel=1
  7. pkgdesc="A GUI frontend for ffmpeg livestreaming"
  8. arch=('any')
  9. url="http://sourceforge.net/projects/castawesome/"
  10. license=('GPL3')
  11. depends=('ffmpeg' 'gtk3' 'python2' 'python2-gobject2')
  12. source=(http://sourceforge.net/projects/castawesome/files/$pkgname-$pkgver.tar.gz)
  13. sha256sums=('da3bb3dcbc050a6166803a48e118b0c588979b9014c2103ee9517099b7a0b27e')
  14.  
  15. prepare() {
  16.   cd $srcdir/$pkgname
  17.  
  18.   msg 'Fixing Makefile...'
  19.   sed -i 's#cp castawesome.py#install -Dm 755 castawesome.py#' Makefile
  20.   sed -i 's#/usr/local#$(DESTDIR)/usr#g' Makefile
  21.   sed -i 's#/usr/local#/usr#' castawesome.py
  22.   sed -i 's#/usr/local#/usr#' uninstall_castawesome.sh
  23. }
  24.  
  25. build() {
  26.   cd $srcdir/$pkgname
  27.  
  28.   msg 'Building...'
  29.   make
  30. }
  31.  
  32. package() {
  33.   cd $srcdir/$pkgname
  34.  
  35.   msg 'Installing...'
  36.   install -dm 755 $pkgdir/usr/share/castawesome
  37.   make DESTDIR="$pkgdir" install
  38.  
  39.   msg 'Cleaning up pkgdir...'
  40.   rm -rf $pkgdir/usr/share/applications
  41.   find "$pkgdir" -type d -name .git -exec rm -r '{}' +
  42. }
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
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top