makedeb
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.
Hash: e72cbf7f1fa20989928f17e759c4726c1e7ece23
Message: minor fix
diff --git a/.SRCINFO b/.SRCINFO
index 29d432b..0dd8f87 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,21 +1,21 @@
-generated-by = makedeb-makepkg
-
-pkgbase = pokemonsay-newgenerations-git
- pkgdesc = cowsay but with pokemons. is forked from the original as the original was abandoned. this is revived with even more pokemons!
- pkgver = 742021.10.04
- pkgrel = 2
- url = https://github.com/HRKings/pokemonsay-newgenerations.git
- arch = x86_64
- license = MIT
- depends = cowsay
- optdepends = fortunes
- optdepends = fortune-mod
- provides = pokemonsay-newgenerations
- provides = pokemonsay
- conflicts = pokemonsay-newgenerations
- conflicts = pokemonsay
- options = !strip
- source = git+https://github.com/HRKings/pokemonsay-newgenerations.git
- sha256sums = SKIP
-
+generated-by = makedeb
pkgname = pokemonsay-newgenerations-git
+pkgbase = pokemonsay-newgenerations-git
+pkgdesc = cowsay but with pokemons. is forked from the original as the original was abandoned. this is revived with even more pokemons!
+pkgrel = 2
+pkgver = 1baccc6d2021.10.04
+url = https://github.com/HRKings/pokemonsay-newgenerations.git
+arch = amd64
+conflicts = pokemonsay-newgenerations
+conflicts = pokemonsay
+depends = cowsay
+license = MIT
+optdepends = fortunes
+optdepends = fortune-mod
+options = !strip
+provides = pokemonsay-newgenerations
+provides = pokemonsay
+source = pokemonsay-newgenerations::git+https://github.com/HRKings/pokemonsay-newgenerations.git
+sha256sums = SKIP
+optdepends = fortunes
+optdepends = fortune-mod
diff --git a/PKGBUILD b/PKGBUILD
index f1f49e1..9b1372b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,16 +1,16 @@
# Maintainer: only_vip <onlyme_vip@protonmail.com>
pkgname=pokemonsay-newgenerations-git
_pkgname=pokemonsay-newgenerations
-pkgver=742021.10.04
+pkgver=1baccc6d2021.10.04
pkgrel=2
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')
+arch=('amd64')
depends=('cowsay')
makedepends=()
optdepends=('fortunes' 'fortune-mod')
url="https://github.com/HRKings/pokemonsay-newgenerations.git"
license=('MIT')
-source=("git+${url}")
+source=("${_pkgname}::git+${url}")
sha256sums=("SKIP")
provides=('pokemonsay-newgenerations' 'pokemonsay')
conflicts=('pokemonsay-newgenerations' 'pokemonsay')
@@ -20,9 +20,10 @@ options=(!strip)
pkgver() {
cd "${srcdir}/${_pkgname}"
+ _always=$(git describe --always | sed -e 's:-:.:g' -e 's:vNext::') # always is mobile, and switches between numbers and letters, can't use it for versioning
_commits=$(git rev-list --count HEAD | sed 's:-:.:g') # total commits is the most sane way of getting incremental pkgver
_date=$(git log -1 --date=short --pretty=format:%cd)
- printf "%s%s\n" "${_commits}" "${_date}" | sed -e 's:-:.:g' -e 's:_:.:g'
+ printf "%s%s%s\n" "${_commits}" "${_always}" "${_date}" | sed -e 's:-:.:g' -e 's:_:.:g'
}
package() {