Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Feb 8th, 2014  |  syntax: Bash  |  size: 0.93 KB  |  views: 136  |  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: Iru Dog <mytbk920423@gmail.com>
  2. # Contributor: Dave Reisner <dreisner@archlinux.org>
  3.  
  4. pkgname=systemd-ui-git
  5. pkgver=3.0.gbd1d897
  6. pkgrel=1
  7. pkgdesc="Systemd Session and Startup Manager GUI (Git version)"
  8. arch=('i686' 'x86_64')
  9. url="https://github.com/systemd/systemd-ui"
  10. license=('GPL2')
  11. depends=('glib2' 'gtk3' 'libgee' 'libnotify')
  12. makedepends=('git' 'vala' 'docbook-xsl' 'libxslt')
  13. provides=('systemd-ui')
  14. conflicts=('systemd-ui')
  15. source=("git://anongit.freedesktop.org/systemd/systemd-ui.git")
  16. md5sums=('SKIP')
  17. _gitname="systemd-ui"
  18.  
  19. pkgver() {
  20.     cd ${_gitname}
  21.     git describe --long | sed 's/v//;s/-/./g'
  22. }
  23.  
  24. build() {
  25.     cd ${_gitname}
  26.     msg2 "Starting autoreconf..."
  27.     autoreconf -f -i -s
  28.  
  29.     msg2 "Starting configure..."
  30.     ./configure
  31.  
  32.     msg2 "Starting make..."
  33.     make
  34. }
  35.  
  36. package() {
  37.     cd ${_gitname}
  38.     msg2 "Starting make install..."
  39.     make DESTDIR="$pkgdir" install
  40. }