Advertisement
grvrulz

Granite pkgbuild

Apr 15th, 2013
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.79 KB | None | 0 0
  1. # Maintainer: Ner0
  2.  
  3. pkgname=granite
  4. pkgver=0.1.1
  5. pkgrel=1
  6. pkgdesc="A development library for elementary development."
  7. arch=('i686' 'x86_64')
  8. url="https://launchpad.net/granite"
  9. license=('GPL3')
  10. groups=('pantheon')
  11. depends=('glib2' 'gobject-introspection' 'gtk3' 'libgee' 'hicolor-icon-theme')
  12. makedepends=('cmake' 'pkg-config' 'vala-0.18')
  13. conflicts=('granite-bzr')
  14. install=granite.install
  15. source=("https://launchpad.net/${pkgname}/0.1/${pkgver}/+download/${pkgname}-${pkgver}.tar.gz")
  16. md5sums=('1bc0bc2df9176940097a26f3d031034a')
  17.  
  18. build() {
  19. cd "$pkgname-$pkgver"
  20. rm -rf build/
  21. mkdir build
  22. cd build
  23. cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DVALA_EXECUTABLE="$(type -p valac-0.18)"
  24. make
  25. }
  26.  
  27. package() {
  28. cd "$pkgname-$pkgver/build"
  29. make DESTDIR="$pkgdir/" install
  30. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement