blob: 42e26d33ed9079541d85b6652be6184a9a911de3 (
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
|
# Contributor: kitsunyan <`echo a2l0c3VueWFuQGFpcm1haWwuY2MK | base64 -d`>
# Maintainer: j-james <jj@j-james.me>
pkgname=pakku
pkgver=0.17
pkgrel=2
pkgdesc='Pacman wrapper and AUR helper with a pacman-like user interface'
arch=('i686' 'x86_64' 'armv6h' 'armv7h' 'aarch64')
url="https://github.com/zqqw/$pkgname"
license=('GPL-3.0-only')
depends=('pacman' 'libcurl.so' 'git' 'pcre')
makedepends=('nim' 'git' 'asciidoc')
backup=('etc/pakku.conf')
source=("$url/archive/refs/tags/v$pkgver.tar.gz")
sha256sums=('d5fa76ae92892cb12edcda36fe1b5e8f6fb6ca4b0247bb3b13236754b35f833f')
build() {
local addargs=()
grep -Fxq debug <<< "`printf '%s\n' "${options[@]}"`" &&
addargs=(NIM_TARGET='debug' NIM_OPTIMIZE='none')
cd "$srcdir/$pkgname-$pkgver"
make "${addargs[@]}" NIM_CACHE_DIR='../nimcache' PREFIX='/usr'
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make PREFIX='/usr' DESTDIR="$pkgdir" install
}
|