Commit 9988f3a3 authored by Seblu's avatar Seblu
Browse files

Update PKGBUILD

parent 43f364fd
Loading
Loading
Loading
Loading
Loading
+8 −5
Original line number Diff line number Diff line
# Maintainer: Sébastien Luttringer

pkgname=aurbot-git
pkgver=$(git log --pretty=format:''|wc -l)
#pkgver=$(git log -1 --pretty=format:%h)
#pkgver=$(date +%y%j%H%M)
pkgver=1
pkgrel=1
pkgdesc='AUR Builder Bot'
arch=('any')
url='https://github.com/seblu/aurbot'
url='https://git.seblu.net/archlinux/aurbot/'
license=('GPL2')
backup=('etc/aurbot.conf')
makedepends=('python-distribute')
makedepends=('git' 'python-distribute')
depends=('systemd' 'python' 'python-systemd')
optdepends=('devtools')

pkgver() {
  cd "$startdir"
  printf '%s.%(%Y%m%d%H%M)T' "$(git rev-list --count HEAD)"
}

package() {
  cd "$startdir"
  install -Dm755 aurbot "$pkgdir/usr/bin/aurbot"