[arch-commits] Commit in tdlib/repos (community-x86_64 community-x86_64/PKGBUILD)

Antonio Rojas arojas at archlinux.org
Wed Sep 12 16:11:37 UTC 2018


    Date: Wednesday, September 12, 2018 @ 16:11:37
  Author: arojas
Revision: 379870

archrelease: copy trunk to community-x86_64

Added:
  tdlib/repos/community-x86_64/
  tdlib/repos/community-x86_64/PKGBUILD
    (from rev 379869, tdlib/trunk/PKGBUILD)

----------+
 PKGBUILD |   30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

Copied: tdlib/repos/community-x86_64/PKGBUILD (from rev 379869, tdlib/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2018-09-12 16:11:37 UTC (rev 379870)
@@ -0,0 +1,30 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=tdlib
+pkgver=0.5.0
+pkgrel=3
+pkgdesc="Algorithms for computing tree decompositions of graphs"
+arch=(x86_64)
+url="https://github.com/freetdi/tdlib/"
+license=(GPL2)
+depends=()
+makedepends=(cython2 boost)
+optdepends=('python2: for the python module')
+source=("https://sources.archlinux.org/other/community/$pkgname/$pkgname-$pkgver.tar.gz")
+sha256sums=('4cddaf2397f3ff291b0aa93b6c529edeae6af8d7337e5c9f28758042950b6264')
+
+prepare() {
+  cd $pkgname-$pkgver
+  sed -e 's/cython\b/cython2/g' -i configure.ac
+  autoreconf -vi
+}
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr --with-python
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make install DESTDIR="$pkgdir"
+}



More information about the arch-commits mailing list