summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: fc78ef119393066bb1a499876d52e8fb8b4f067b (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
# Maintainer: Tim Yang <protonmail = timdyang>

pkgname=tuxi-git
pkgver=r320.2b7ef7d
pkgrel=1
pkgdesc="A CLI tool that scrapes Google search results and SERPs to provide instant and concise answers"
arch=(any)
url=https://github.com/Bugswriter/tuxi
license=(GPL3)
depends=(jq pup recode)
makedepends=(git)
provides=(tuxi)
conflicts=(tuxi)
source=($pkgname::git+https://github.com/Bugswriter/tuxi)
md5sums=(SKIP)

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

package() {
    cd "$srcdir"/$pkgname
    make PREFIX=/usr DESTDIR="$pkgdir" install
}