diff options
author | XenGi | 2018-02-19 06:07:53 +0100 |
---|---|---|
committer | XenGi | 2018-02-19 06:07:53 +0100 |
commit | 536301cfaa5611733f9c1566aeb5f4e58c9c12e3 (patch) | |
tree | cf40eba49c77cfae381bad8ef37b07ac53defe1d | |
parent | a5ae75e26353ecaaf2582603073d93cd994d75dc (diff) | |
download | aur-536301cfaa5611733f9c1566aeb5f4e58c9c12e3.tar.gz |
changed pokeapi urls to https
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 8 | ||||
-rw-r--r-- | pokeshell.install | 4 |
3 files changed, 6 insertions, 11 deletions
@@ -1,10 +1,7 @@ -# Generated by mksrcinfo v8 -# Tue Jul 26 21:12:37 UTC 2016 pkgbase = pokeshell pkgdesc = Displays pokemons in your shell pkgver = 1.0.0 - pkgrel = 4 - url = https://github.com/XenGi/pokeshell + pkgrel = 5 install = pokeshell.install arch = any license = MIT @@ -4,25 +4,23 @@ _maxwidth=80 _maxheight=22 _firstpokemon=1 _lastpokemon=151 + pkgname=pokeshell pkgver=1.0.0 -pkgrel=4 +pkgrel=5 pkgdesc="Displays pokemons in your shell" arch=(any) -url="https://github.com/XenGi/pokeshell" license=('MIT') makedepends=('curl' 'imagemagick' 'img2xterm') options=(!emptydirs) install='pokeshell.install' -#source=("https://github.com/rossy/$pkgname/archive/v$pkgver.tar.gz") -#sha256sums=('') build() { cd "$srcdir/" for _i in `seq $_firstpokemon 1 $_lastpokemon` ; do printf "Generating Pokemon #$_i" # download pokemon image - curl -s http://pokeapi.co/media/img/$_i.png -o $_i.png + curl -s https://pokeapi.co/media/img/$_i.png -o $_i.png printf "." # trim image convert $_i.png -trim -resize ${_maxwidth}x$(($_maxheight * 2))\> $_i.png diff --git a/pokeshell.install b/pokeshell.install index ed481d21e3e7..73d1f534dce1 100644 --- a/pokeshell.install +++ b/pokeshell.install @@ -3,7 +3,7 @@ post_install() { echo "" echo "cat /usr/share/pokeshell/\$((\$RANDOM % 151 + 1)).pokemon" echo "" - echo "For fish shell you can add this function to your ~/.config/fish/functions/fish_prompt.fish:" + echo "For fish shell you customize your greeting function by changing ~/.config/fish/functions/fish_prompt.fish:" echo "" echo "function fish_greeting" echo " set r (random)" @@ -16,7 +16,7 @@ post_upgrade() { echo "" echo "cat /usr/share/pokeshell/\$((\$RANDOM % 151 + 1)).pokemon" echo "" - echo "For fish shell you can add this function to your ~/.config/fish/functions/fish_prompt.fish:" + echo "For fish shell you customize your greeting function by changing ~/.config/fish/functions/fish_prompt.fish:" echo "" echo "function fish_greeting" echo " set r (random)" |