summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e0f033ba9c6d0f21e09221c20b5b726754477c8e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Maintainer: Jaden Peterson <jadenpeterson150@gmail.com>

pkgname=aurvote-utils-git
pkgver=1.0.0.r6.g07c9666
pkgrel=1
pkgdesc='A set of utilities for managing AUR votes'
arch=('any')
url=https://github.com/jadenPete/aurvote-utils
provides=('aurvote-utils')
conflicts=('aurvote-utils')
license=('MIT')
depends=('python' 'python-beautifulsoup4' 'python-requests')
makedepends=('git')
source=("git+https://github.com/jadenPete/aurvote-utils.git")
sha256sums=('SKIP')

pkgver() {
	cd aurvote-utils
	git describe --tags | tail -c +2 | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

package() {
	cd aurvote-utils
	install -D aur-vote "${pkgdir}/usr/bin/aur-vote"
	install aur-autovote "${pkgdir}/usr/bin/aur-autovote"
}