summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorj.r2020-12-29 15:07:46 +0100
committerj.r2020-12-29 15:08:30 +0100
commit085a8b0464776d86e2a12da424b05003896dbce0 (patch)
treeed1b25d87515a202373df6d798cec64fe3c0c077 /PKGBUILD
parent4fcee6dfa9a2ed369fffed4c6f939150dc561473 (diff)
downloadaur-085a8b0464776d86e2a12da424b05003896dbce0.tar.gz
Bump telegram-tg-git to v0.7.0.r3.06f7c5b-3
Adds patch to use be able to use newer python-telegram verions
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD14
1 files changed, 11 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 46d31620978..8d2068e31a9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
_pkgname=telegram-tg
pkgname=$_pkgname-git
pkgver=v0.7.0.r3.06f7c5b
-pkgrel=2
+pkgrel=3
pkgdesc="terminal telegram client that really works"
arch=(any)
url="https://github.com/paul-nameless/tg"
@@ -16,8 +16,10 @@ optdepends=(
)
provides=("$_pkgname")
conflicts=("$_pkgname")
-source=("$_pkgname::git+https://github.com/paul-nameless/tg.git")
-md5sums=('SKIP')
+source=("$_pkgname::git+https://github.com/paul-nameless/tg.git"
+ "0001-Change-setup.py-to-accept-new-python-telegram-ver.patch")
+md5sums=('SKIP'
+ 'b5128de4dab3dbe7aaea695ac0a0b1a8')
pkgver() {
cd "$srcdir/$_pkgname"
@@ -28,6 +30,12 @@ pkgver() {
#printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
+prepare() {
+ cd "${srcdir}/${_pkgname}"
+
+ patch -p1 -i ${srcdir}/0001-Change-setup.py-to-accept-new-python-telegram-ver.patch
+}
+
build() {
cd "$srcdir/$_pkgname"