blob: 8e2ba852a7b9495075d457b54cc33225748de407 (
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
37
38
|
# Maintainer: acxz <akashpatel2008 at yahoo dot com>
pkgname=pokeshell-git
pkgver=r91.52b3ec2
pkgrel=1
pkgdesc="A shell program to show pokemon sprites in the terminal."
arch=('any')
url='https://github.com/acxz/pokeshell'
license=('GPLv3')
depends=('curl' 'jq' 'imagemagick' 'chafa')
makedepends=('git')
provides=('pokeshell')
conflicts=('pokeshell')
_pkgname=pokeshell
source=("${_pkgname}::git+https://github.com/acxz/pokeshell")
sha256sums=('SKIP')
pkgver() {
cd "${srcdir}/${_pkgname}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
msg "Nothing to build"
}
package() {
cd "${srcdir}/${_pkgname}"
mkdir -p ${pkgdir}/usr/bin
cp -v bin/pokeshell ${pkgdir}/usr/bin
mkdir -p ${pkgdir}/usr/share/bash-completion/completions
cp -v share/bash-completion/completions/pokeshell ${pkgdir}/usr/share/bash-completion/completions/pokeshell
# mkdir -p ${pkgdir}/usr/share/zsh/site-functions
# cp -v share/zsh/site-functions/_pokeshell ${pkgdir}/usr/share/zsh/site-functions/_pokeshell
}
|