Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

Granite pkgbuild

By: grvrulz on Apr 15th, 2013  |  syntax: None  |  size: 0.79 KB  |  hits: 52  |  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. # 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. }