Pastebin is 300% more awesome when you are logged in. Sign Up, it's FREE!
Guest

PKGBUILD for Imagination 3.0

By: a guest on May 10th, 2012  |  syntax: Bash  |  size: 0.74 KB  |  hits: 69  |  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. # Contributor: Asa Marco <marcoasa90[at]gmail[dot]com>
  2.  
  3. pkgname=imagination
  4. pkgver=3.0
  5. pkgrel=2
  6. pkgdesc="Imagination is a lightweight and simple DVD slideshow maker in GTK+2"
  7. arch=('i686' 'x86_64')
  8. url="http://imagination.sourceforge.net/"
  9. license=('GPL')
  10. depends=('gtk2' 'ffmpeg' 'sox')
  11. makedepends=('intltool' 'docbook-xsl')
  12. provides=('imagination')
  13. source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz)
  14. md5sums=('ec7e6cf234020801a2af0fa04cfefef1')
  15.  
  16. build() {
  17.   cd "$srcdir/$pkgname-$pkgver"
  18.   sed -i 's/PLUGINS_INSTALLED 0/PLUGINS_INSTALLED 1/g' src/support.h
  19.   LDFLAGS="-lm -lgmodule-2.0" ./configure --prefix=/usr
  20.   make
  21. }
  22.  
  23. package() {
  24.   cd "$srcdir/$pkgname-$pkgver"
  25.   make DESTDIR="$pkgdir" install
  26. }