blob: 4e63dc0474e93e579b6c38eb7216692edcdd6dfa (
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
|
# Maintainer: kitsunyan <`echo a2l0c3VueWFuQGFpcm1haWwuY2MK | base64 -d`>
pkgname=pakku
pkgver=0.14
pkgrel=1
pkgdesc='Pacman wrapper with AUR support'
arch=('i686' 'x86_64' 'armv6h' 'armv7h' 'aarch64')
url="https://github.com/kitsunyan/$pkgname"
license=('GPL3')
depends=('libcurl.so' 'git')
makedepends=('nim')
backup=('etc/pakku.conf')
source=("$url/releases/download/v$pkgver/$pkgname-$pkgver.tar.xz")
sha256sums=('2e5e1db1651f3630a3a9f62d8341384c2d24c3573f2a2d0803d8e795990785c7')
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
}
|