Advertisement
Guest User

Untitled

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