blob: 77caf0a87533cb36514a1a8299e0ae568f12b3c7 (
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
27
28
29
30
31
32
33
34
|
# Maintainer: Faerbit <faerbit at gmail dot com>
pkgname=aur-auto-vote-git
_pkgname=${pkgname%-git}
_reponame=bin
pkgver=r150.3a626c5
pkgrel=1
pkgdesc="Automates voting on installed and uninstalled AUR packages"
arch=('any')
url="https://github.com/cryzed/bin"
license=('MIT')
depends=('python' 'python-beautifulsoup4' 'python-requests' 'python-html5lib')
makedepends=('git')
source=("git+https://github.com/cryzed/bin.git"
"aur-auto-vote.service.skel"
"aur-auto-vote.timer")
md5sums=('SKIP'
'7496d1d73a29a477a532d682d8715084'
'0b990cd54f3524b4acbd59ba25adac7f')
install="${pkgname}.install"
pkgver() {
cd "$srcdir/$_reponame"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd "$srcdir"
install -D -m644 "$_reponame/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
install -D -m755 "$_reponame/${_pkgname}" "$pkgdir/usr/bin/${_pkgname}"
install -D -m644 aur-auto-vote.service.skel "$pkgdir/etc/systemd/system/aur-auto-vote.service.skel"
install -D -m644 aur-auto-vote.timer "$pkgdir/etc/systemd/system/aur-auto-vote.timer"
}
|