summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8b75aef62e2954d097ac34602a1877e6581ef2c2 (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: Toni500 <tonino512@linuxmail.org>
pkgname="tabaur-bin"
_pkgname="TabAUR"
pkgver=0.6.8
pkgrel=1
pkgdesc="A customizable and lightweight AUR helper, designed to be simple but powerful."
arch=('x86_64' 'aarch64')
url="https://github.com/BurntRanch/TabAUR"
license=('GPL2')
depends=('pacman' 'curl')
optdepends=(
  "sudo: privilege elevation"
  "opendoas: privilege elevation"
  "git: use AUR packages git repos"
  "tar: use AUR packages tarballs"
)
conflicts=('tabaur' 'tabaur-git')
source=("${url}/releases/download/v${pkgver}/${_pkgname}-v${pkgver}.tar.zst")
sha256sums=("7b20cc048148ad86afcaf652811f0610f846a8d3a5902c6faf59ab7285714404")

package() {
    cd "${srcdir}/"
    install -Dm755 "taur" "${pkgdir}/usr/bin/taur"
    install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE"
    find locale -type f -exec install -Dm 755 "{}" "${pkgdir}/usr/share/{}" \;
}