makedeb


epy-git 150dd4fa2022.04.18-2


CLI Ebook Reader, fork of epr with minor improvements

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

Commit:


Hash: d58a9af738bb53626791059dcf2ca4ab010e3f66

Message: minor fix

Diff


diff --git a/.SRCINFO b/.SRCINFO
index e844696..5c1e65e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,20 +1,22 @@
-generated-by = makedeb-makepkg
-
-pkgbase = epy-git
-	pkgdesc = CLI Ebook Reader, fork of epr with minor improvements
-	pkgver = 1632021.8.14.15.g0eb1e582021.10.29
-	pkgrel = 1
-	url = https://github.com/wustho/epy
-	arch = any
-	license = MIT
-	makedepends = git
-	makedepends = python3-setuptools
-	depends = python3
-	optdepends = libttspico-utils: Small Footprint TTS
-	optdepends = sox: Swiss army knife of sound processing
-	provides = epy
-	conflicts = epy
-	source = git+https://github.com/wustho/epy.git
-	sha256sums = SKIP
-
+generated-by = makedeb
 pkgname = epy-git
+pkgbase = epy-git
+pkgdesc = CLI Ebook Reader, fork of epr with minor improvements
+pkgrel = 2
+pkgver = 150dd4fa2022.04.18
+url = https://github.com/wustho/epy
+arch = any
+conflicts = epy
+depends = python3
+license = MIT
+makedepends = git
+makedepends = python3-setuptools
+optdepends = libttspico-utils:  Small Footprint TTS 
+optdepends = sox:  Swiss army knife of sound processing
+provides = epy
+source = epy::git+https://github.com/wustho/epy.git
+sha256sums = SKIP
+makedepends = git
+makedepends = python3-setuptools
+optdepends = libttspico-utils:  Small Footprint TTS 
+optdepends = sox:  Swiss army knife of sound processing
diff --git a/PKGBUILD b/PKGBUILD
index 26fa167..dc4946d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,8 @@
 # Maintainer: only_vip <onlyme_vip@protonmail.com>
 pkgname=epy-git
 _pkgname=epy
-pkgver=1632021.8.14.15.g0eb1e582021.10.29
-pkgrel=1
+pkgver=150dd4fa2022.04.18
+pkgrel=2
 pkgdesc="CLI Ebook Reader, fork of epr with minor improvements"
 arch=('any')
 url='https://github.com/wustho/epy'
@@ -13,15 +13,15 @@ conflicts=('epy')
 makedepends=( 'git' 'python3-setuptools')
 optdepends=('libttspico-utils:  Small Footprint TTS '
             'sox:  Swiss army knife of sound processing')
-source=("git+https://github.com/wustho/${_pkgname}.git")
+source=("${_pkgname}::git+https://github.com/wustho/${_pkgname}.git")
 sha256sums=('SKIP')
 
 pkgver() {
   cd "${_pkgname}"
-    _tag=$(git describe --tags | sed -e 's:-:.:g' -e 's:v::') # tag is mobile, and switches between numbers and letters, can't use it for versioning
+    _always=$(git describe --always | sed -e 's:-:.:g' -e 's:v::') # 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%s\n" "${_commits}" "${_tag}" "${_date}" | sed -e 's:-:.:g'  -e 's:_:.:g'
+    printf "%s%s%s\n" "${_commits}" "${_always}" "${_date}" | sed -e 's:-:.:g'  -e 's:_:.:g'
 }
 
 build() {