blob: 8b8a55f437ed82773d733ed8e93c5fd390e80839 (
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: Hayate NAKA-MURA <is01.njb at gmail dot com>
pkgname="nako-git"
_pkgname="nako"
pkgver=r14.1bc3fca
pkgrel=1
pkgdesc="An AUR helper written in Bash and Pyalpm (development version)"
arch=('any')
url="https://github.com/njb-fm/nako"
license=('BSD')
provides=('nako')
conflicts=('nako')
depends=('sudo' 'pacman' 'git' 'jq' 'python3' 'curl' 'pyalpm' 'python-srcinfo')
optdepends=('aurvote: for voting')
source=("git+${url}.git")
md5sums=('SKIP')
pkgver() {
cd ${_pkgname}
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd ${srcdir}/${_pkgname}
make DESTDIR=${pkgdir} PREFIX=/usr install
}
|