[arch-commits] Commit in tdlib/trunk (PKGBUILD)

Antonio Rojas arojas at gemini.archlinux.org
Sun Sep 4 10:56:52 UTC 2022


    Date: Sunday, September 4, 2022 @ 10:56:51
  Author: arojas
Revision: 1292825

upgpkg: tdlib 0.9.2-1: Update to 0.9.2

Modified:
  tdlib/trunk/PKGBUILD

----------+
 PKGBUILD |   24 +++++++++++++++---------
 1 file changed, 15 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-09-04 10:42:06 UTC (rev 1292824)
+++ PKGBUILD	2022-09-04 10:56:51 UTC (rev 1292825)
@@ -1,23 +1,29 @@
 # Maintainer: Antonio Rojas <arojas at archlinux.org>
 
 pkgname=tdlib
-pkgver=0.5.0
-pkgrel=4
-pkgdesc="Algorithms for computing tree decompositions of graphs"
+pkgver=0.9.2
+pkgrel=1
+_commit=e8ec9114377574f22ff4447cf29e66411b491b7e # No tags in upstream repo
+pkgdesc='Algorithms for computing tree decompositions of graphs'
 arch=(any)
-url="https://github.com/freetdi/tdlib/"
+url='https://github.com/freetdi/tdlib/'
 license=(GPL2)
 depends=()
-makedepends=(boost)
-source=("https://sources.archlinux.org/other/community/$pkgname/$pkgname-$pkgver.tar.gz")
-sha256sums=('4cddaf2397f3ff291b0aa93b6c529edeae6af8d7337e5c9f28758042950b6264')
+makedepends=(boost git)
+source=(git+https://github.com/freetdi/tdlib#commit=$_commit)
+sha256sums=('SKIP')
 
+prepare() {
+  cd $pkgname
+  ./bootstrap
+}
+
 build() {
-  cd $pkgname-$pkgver
+  cd $pkgname
   ./configure --prefix=/usr
 }
 
 package() {
-  cd $pkgname-$pkgver
+  cd $pkgname
   make install DESTDIR="$pkgdir"
 }



More information about the arch-commits mailing list