SHARE
TWEET

PKGBUILD

a guest Apr 24th, 2013 38 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Contributor: <nixtrian@gmail.com>
  2. pkgname=fragmentarium-git
  3. _gitname=Fragmentarium
  4. pkgver=111.c87926b
  5. pkgrel=1
  6. pkgdesc="Fragmentarium is an open source, cross-platform IDE for exploring pixel based graphics on the GPU"
  7. url="http://syntopia.github.com/Fragmentarium/"
  8. license=('GPL')
  9. arch=('i686' 'x86_64')
  10. depends=('qt4' 'mesa')
  11. makedepends=('git')
  12. source=('git://github.com/Syntopia/Fragmentarium.git')
  13. md5sums=('SKIP')
  14.  
  15. pkgver() {
  16.     cd $_gitname
  17.     echo $(git rev-list --count master).$(git rev-parse --short master)
  18. }
  19.  
  20. build() {
  21.     cd $_gitname/Fragmentarium-Source
  22.     qmake-qt4 -project -after "CONFIG+=opengl" -after "QT+=xml opengl script"
  23.     qmake-qt4
  24.     make || return 1
  25. }
  26.  
  27. package() {
  28.     cd $_gitname/Fragmentarium-Source
  29.     install -d -m755 $pkgdir/usr/bin || return 1
  30.     install -m755 Fragmentarium-Source $pkgdir/usr/bin/fragmentarium || return 1
  31.     install -d 755 $pkgdir//usr/share/fragmentarium
  32.     cp -rf "Examples" "Misc" $pkgdir/usr/share/fragmentarium/ || return 1
  33. }
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