summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorHelton Reis2021-05-24 20:04:01 -0300
committerHelton Reis2021-05-24 20:04:01 -0300
commit76547679e4531fffdb4a0198bb1c9093fe4540fd (patch)
treea582dbab4c99e166d2b4e30cc6eed2e85bbfbdf9
parent17bb74b479c78b3343e5ba45db1ed11f351d52eb (diff)
downloadaur-76547679e4531fffdb4a0198bb1c9093fe4540fd.tar.gz
[fix] Fix pokemonthink
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD5
2 files changed, 5 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index af988cee282d..75d9b1e8d542 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = pokemonsay-newgenerations-git
pkgdesc = Brings pokemon to the terminal using the power of cowsay.
- pkgver = 1.0.2
+ pkgver = 1.0.3
pkgrel = 1
url = https://github.com/HRKings/pokemonsay-newgenerations.git
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index edff691308d5..d8e1e82d58bf 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: HRKings <hrkings@***.com>
pkgname=pokemonsay-newgenerations-git
_pkgname=pokemonsay-newgenerations
-pkgver=1.0.2
+pkgver=1.0.3
pkgrel=1
pkgdesc="Brings pokemon to the terminal using the power of cowsay."
arch=(any)
@@ -25,6 +25,9 @@ package() {
# Put the installation path on the script
sed -r "31s;.*;INSTALL_PATH=/opt/${_pkgname};" -i pokemonsay.sh
+ #
+ sed -r "7s;.*;pokemonsay --think $@;" -i pokemonsay.sh
+
# Install the scripts
install -Dm755 pokemonsay.sh "${pkgdir}"/usr/bin/pokemonsay
install -Dm755 pokemonthink.sh "${pkgdir}"/usr/bin/pokemonthink