summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: df47edfee707127e9ab74ba05c872c3458da9e48 (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
# Contributor: Alexandre Bolelli <t3k0@live.com>
# Maintainer: Alexandre Bolelli <t3k0@live.com>

pkgname=auru-git
pkgver=r2.855ffb5
pkgrel=1
pkgdesc="AUR Utility - Check foreign packages (typically installed w/ pacman -U) for available updates in AUR and upstream websites"
arch=('any')
url='https://github.com/semeion/auru'
license=('GPL3')
depends=('python-html2text' 'curl' 'jq' 'expac')
optdepends=('fzf')
makedepends=('git')
source=('git+https://github.com/semeion/auru.git')
sha256sums=('SKIP')

pkgver() {
    cd "${srcdir}/auru"
    printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
    cd "${srcdir}/auru"
    # Install script
    install -D -m755 auru "${pkgdir}/usr/bin/auru"
}