Advertisement
Guest User

Untitled

a guest
Feb 8th, 2014
216
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.93 KB | None | 0 0
  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. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement