blob: cb77fdbacd13de109788c584ab463f2905d523b5 (
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
|
# Maintainer: Charles Milette <charles.milette@gmail.com>
_gitname=Pokemon-Terminal
pkgname=pokemon-terminal-git
pkgver=r413.09d3429
pkgrel=1
pkgdesc="Pokemon terminal themes"
arch=('any')
url="https://github.com/LazoCoder/$_gitname"
license=('GPL3')
depends=('python>=3.6' 'python-psutil')
optdepends=('gnome-shell: support changing GNOME wallpaper'
'feh: support changing Openbox and i3 wallpaper'
'terminology: support changing Terminology background'
'tilix: support changing Tilix background')
makedepends=('git' 'jq' 'curl' 'python-setuptools' 'python')
source=("https://github.com/LazoCoder/$_gitname/archive/master.zip" "get-commit-count.sh")
sha256sums=('SKIP' '714f2e21a5b77d8b72d6f75da1f1c2fac93f15e2ddd3829a3fbd6dc7307779d0')
pkgver() {
cd "$srcdir"
printf "r%s.%s" "$(./get-commit-count.sh)" "$(git ls-remote https://github.com/LazoCoder/$_gitname.git refs/heads/master | cut -c1-7)"
}
package() {
cd "$srcdir/$_gitname-master/"
python setup.py install --root="$pkgdir/" --optimize=1
}
|