[arch-commits] Commit in tdlib/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Wed Sep 12 16:11:14 UTC 2018
Date: Wednesday, September 12, 2018 @ 16:11:13
Author: arojas
Revision: 379869
Update URL (FS#60029), build python module
Modified:
tdlib/trunk/PKGBUILD
----------+
PKGBUILD | 16 ++++++++++++----
1 file changed, 12 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-09-12 15:07:58 UTC (rev 379868)
+++ PKGBUILD 2018-09-12 16:11:13 UTC (rev 379869)
@@ -2,18 +2,26 @@
pkgname=tdlib
pkgver=0.5.0
-pkgrel=2
+pkgrel=3
pkgdesc="Algorithms for computing tree decompositions of graphs"
-arch=(any)
-url="http://www.tdi.informatik.uni-frankfurt.de/~lukas/tdlib.html"
+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
+ ./configure --prefix=/usr --with-python
}
package() {
More information about the arch-commits
mailing list