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 2nd, 2014  |  syntax: Bash  |  size: 0.79 KB  |  views: 120  |  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: Christian METZLER <neroth@xeked.com>
  2. _pkgname=gnome-shell-extension-weather
  3. pkgname=${_pkgname}-git
  4. pkgver=20131221
  5. pkgrel=1
  6. pkgdesc="A simple GNOME Shell extension for displaying weather information for several cities (Git version)"
  7. arch=('any')
  8. url="https://github.com/Neroth/gnome-shell-extension-weather"
  9. license=('GPL3')
  10. depends=('glib2')
  11. makedepends=('gnome-common' 'intltool' 'git')
  12. install=gschemas.install
  13. source=("git+${url}")
  14. md5sums=('SKIP')
  15.  
  16. pkgver() {
  17.   cd ${_pkgname}
  18.   git log -1 --format="%cd" --date=short | tr -d -
  19. }
  20.  
  21. build() {
  22.   cd ${_pkgname}
  23.  
  24.   msg2 "Starting autogen.sh..."
  25.   ./autogen.sh --prefix=/usr
  26.  
  27.   msg2 "Starting make..."
  28.   make
  29. }
  30.  
  31. package() {
  32.   cd ${_pkgname}
  33.  
  34.   msg2 "Starting make install..."
  35.   make DESTDIR="${pkgdir}" install
  36. }