summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6ba11b1e17d486bb1f1ce7e208638f980e0e62e0 (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: Germain Z. <https://github.com/GermainZ>
pkgname=aur-talk-git
_gitname=aur-talk
pkgver=r11.ad39887
pkgrel=1
pkgdesc="A script to fetch and display AUR package comments"
arch=('any')
url="https://github.com/GermainZ/aur-talk"
license=('custom:ISC')
depends=('python' 'python-lxml' 'python-html2text')
makedepends=('git')
provides=('aur-talk')
conflicts=('aur-talk')
source=('git+https://github.com/GermainZ/aur-talk')
sha256sums=('SKIP') 

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

package() {
    cd $_gitname
    install -Dm755 aur_talk.py "$pkgdir/usr/bin/aur-talk"
    install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}