summaryrefslogtreecommitdiff
path: root/pcr/aurvote/PKGBUILD
blob: f3dd61cd3bd9bf04e3a96107ad390a591be64d9a (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 (AUR): Javier Tia <javier dot tia at gmail dot com>
# Maintainer : Parabola Aurélien DESBRIÈRES <aurelien@hackers.camp>

# parabola changes and rationale:
#  - renamed tarball to avoid collisions

pkgname=aurvote
pkgver=1.9
pkgrel=3
pkgdesc="Tool to vote for favorite AUR packages"
url="https://github.com/archlinuxfr/aurvote"
license=('GPL')
arch=('any')
depends=('curl')
conflicts=('aurvote-git')
replaces=('aurvote-git')
source=("$pkgname-$pkgver.tar.gz::${url}/archive/${pkgver}.tar.gz")
sha256sums=('bd888c25b376e97bfad1c8f2fd0eefb4db0821ff422356d985009ba287425da7')

package() {
  cd ${srcdir}/${pkgname}-${pkgver}
  install -Dm 755 aurvote "${pkgdir}/usr/bin/aurvote"
  install -Dm 644 zsh-completion "${pkgdir}/usr/share/zsh/site-functions/_aurvote"
}

# vim:set ft=sh ts=2 sw=2 et: