blob: 6f3ed0f12b85c77faf91436ea5b987a5df8dfd19 (
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
28
29
30
31
32
33
34
35
36
|
# Maintainer: Toni500 <tonino512@linuxmail.org>
pkgname="tabaur"
_pkgname="TabAUR"
pkgver=0.6.6
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=('GPL3')
depends=('pacman' 'curl')
makedepends=('base-devel' 'cmake')
optdepends=(
"sudo: privilege elevation"
"doas: privilege elevation"
"git: for using the AUR git repo"
"tar: for using the AUR tarball repo"
)
source=("git+${url}.git")
sha256sums=("SKIP")
prepare() {
cd "${srcdir}/${_pkgname}"
git checkout "v${pkgver}"
git submodule init
git submodule update --init --recursive
}
build() {
make -C "${srcdir}/${_pkgname}" DEBUG=0
}
package() {
cd "${srcdir}/${_pkgname}"
make install PREFIX="${pkgdir}/usr"
install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|