summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: bde505c89244c07a9dca7bbf8ef289f5443d2688 (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
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' 'aurvote')
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 aurvote "${pkgdir}/usr/bin/aurvote"
	install aurvote-auto "${pkgdir}/usr/bin/aurvote-auto"
}