SHARE
TWEET

Untitled

a guest Apr 1st, 2013 140 Never
  1. # Maintainer: Dave Reisner <d@falconindy.com>
  2.  
  3. pkgname=cower-git
  4. pkgver=8.7.g2264ff0
  5. pkgrel=1
  6. pkgdesc="A simple AUR agent with a pretentious name"
  7. arch=('i686' 'x86_64')
  8. url="http://github.com/falconindy/cower"
  9. license=('MIT')
  10. depends=('curl' 'libarchive' 'pacman' 'yajl' )
  11. makedepends=('git' 'perl')
  12. conflicts=('cower')
  13. provides=('cower')
  14. source=('git://github.com/falconindy/cower.git')
  15. md5sums=('SKIP')
  16. _gitname='cower'
  17.  
  18. pkgver() {
  19.   cd $_gitname
  20.   # Git tag
  21.   echo $(git describe --always | sed 's/-/./g')
  22.   # Date
  23.   #date +"%Y%m%d"
  24. }
  25.  
  26. build() {
  27.   cd $_gitname
  28.   make
  29. }
  30.  
  31. package() {
  32.   make -C $_gitname PREFIX=/usr DESTDIR="$pkgdir" install
  33. }
  34.  
  35. # vim: ft=sh syn=sh et
RAW Paste Data
Top