summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorHelton Reis2021-05-24 20:06:42 -0300
committerHelton Reis2021-05-24 20:07:04 -0300
commit6e2a4c4b4541fe5b22749968e6f7ce64d5f1e4a2 (patch)
treec229effc3876a1b2294e23179c3fe63c21f02868
parent467a4f27ce1b08fc263be871f1472708a3e06378 (diff)
downloadaur-6e2a4c4b4541fe5b22749968e6f7ce64d5f1e4a2.tar.gz
[fix] Fix install path and bump version to 1.0.5
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD8
2 files changed, 5 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 7dd45aa7e2d2..8a6aca0d1904 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.4
+ pkgver = 1.0.5
pkgrel = 1
url = https://github.com/HRKings/pokemonsay-newgenerations.git
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index 306cec2ac202..1cd044a5828c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: HRKings <hrkings@***.com>
pkgname=pokemonsay-newgenerations-git
_pkgname=pokemonsay-newgenerations
-pkgver=1.0.4
+pkgver=1.0.5
pkgrel=1
pkgdesc="Brings pokemon to the terminal using the power of cowsay."
arch=(any)
@@ -15,9 +15,9 @@ md5sums=('SKIP')
package() {
cd ${_pkgname}
# Copy pokemon cowfiles
- rm -rf "/opt/${_pkgname}/pokemons"
- mkdir -p "/opt/${_pkgname}/pokemons"
- cp ./pokemons/* "/opt/${_pkgname}/pokemons/"
+ rm -rf "${pkgdir}/opt/${_pkgname}/pokemons"
+ mkdir -p "${pkgdir}/opt/${_pkgname}/pokemons"
+ cp ./pokemons/* "${pkgdir}/opt/${_pkgname}/pokemons/"
# Install the README
install -Dm644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"