makedeb


pokemonsay-newgenerations-git 1baccc6d2021.10.04-2


cowsay but with pokemons. is forked from the original as the original was abandoned. this is revived with even more pokemons!

Click here to go back to the commit logs for pokemonsay-newgenerations-git.

Commit:


Hash: c0b70860bd54fbe1395580c8262f57a60beac5e7

Message: minor update

Diff


diff --git a/.SRCINFO b/.SRCINFO
index 81525ca..7161775 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -8,7 +8,7 @@ pkgbase = pokemonsay-newgenerations-git
 	arch = x86_64
 	license = MIT
 	depends = cowsay
-	depends = fortune
+	depends = fortunes
 	provides = pokemonsay-newgenerations
 	provides = pokemonsay
 	conflicts = pokemonsay-newgenerations
diff --git a/PKGBUILD b/PKGBUILD
index 350a15f..2c0a675 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@ pkgver=632021.05.27
 pkgrel=1
 pkgdesc="cowsay but with pokemons. is forked from the original as the original was abandoned. this is revived with even more pokemons!"
 arch=('x86_64')
-depends=('cowsay' 'fortune')
+depends=('cowsay' 'fortunes')
 makedepends=()
 optdepends=()
 url="https://github.com/HRKings/pokemonsay-newgenerations.git"
@@ -25,14 +25,6 @@ pkgver() {
     printf "%s%s\n" "${_commits}" "${_date}" | sed -e 's:-:.:g'  -e 's:_:.:g'
 }
 
-#package() {
-  #cd ${srcdir}/${_pkgname}/
-  #make -j4
-  #make DESTDIR="${pkgdir}" install
-  #cd "${srcdir}/${_pkgname}"
-  #install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE"
-#}
-
 package() {
 	cd ${srcdir}/${_pkgname}
 	# Copy pokemon cowfiles
@@ -48,7 +40,7 @@ package() {
 	sed -r "7s;.*;pokemonsay --think \$@;" -i "pokemonthink.sh"
 
 	# Install the scripts	
-  	install -Dm755 "pokemonsay.sh" "${pkgdir}/usr/local/bin/pokemonsay"
-  	install -Dm755 "pokemonthink.sh" "${pkgdir}/usr/local/bin/pokemonthink"
-	install -Dm644 "README.md" "${pkgdir}/usr/local/share/doc/${pkgname}/README.md"
+  	install -Dm755 "pokemonsay.sh" "${pkgdir}/usr/bin/pokemonsay"
+  	install -Dm755 "pokemonthink.sh" "${pkgdir}/usr/bin/pokemonthink"
+	install -Dm644 "README.md" "${pkgdir}/usr/share/doc/${pkgname}/README.md"
 }