Pastebin launched a little side project called HostCabi.net, check it out ;-)Pastebin is 300% more awesome when you are logged in. Sign Up, it's FREE!
Guest

Untitled

By: a guest on Sep 5th, 2011  |  syntax: None  |  size: 1.12 KB  |  hits: 117  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # This is an example PKGBUILD file. Use this as a start to creating your own,
  2. # and remove these comments. For more information, see 'man PKGBUILD'.
  3. # NOTE: Please fill out the license field for your package! If it is unknown,
  4. # then please put 'unknown'.
  5.  
  6. # Contributor: Your Name <youremail@domain.com>
  7. pkgname=imageshack-uploader2
  8. _realpkgname=imageshack-uploader
  9. pkgver=2.3.0
  10. pkgrel=3
  11. pkgdesc="Official Image and Video uploader for imageshack.us web site (builds from source)"
  12. arch=('i686' 'x86_64')
  13. url="http://imageshack.us"
  14. license=('GPL')
  15. depends=('ffmpeg' 'qt')
  16. makedepends=('mercurial')
  17. provides=('imageshack-uploader')
  18. conflicts=('imageshack-uploader')
  19. source=('vamp_patch')
  20.  
  21. build() {
  22.   cd "$srcdir"
  23.   hg clone https://imageshack-uploader.googlecode.com/hg/ imageshack-uploader
  24.   patch -Np1 imageshack-uploader/ffmpeg_fas.c 1001-fix-ffmpeg-6.0.diff
  25.   patch -Np1 imageshack-uploader/ffmpeg_fas.c 1002-fix-FTBFS-libav-0.7.diff
  26.   cd "$_realpkgname"
  27.  
  28.   IMAGESHACK_DEVELOPER_KEY="Vamp898" qmake -unix
  29.   make || return 1
  30.   make INSTALL_ROOT="$pkgdir/" install
  31. }
  32. md5sums=('f3d83b96d7845ac3c8dccb9a9759d522')