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

Anatol Pomozov anatolik at archlinux.org
Mon Mar 30 22:01:54 UTC 2015


    Date: Tuesday, March 31, 2015 @ 00:01:53
  Author: anatolik
Revision: 130388

upgpkg: mldonkey 3.1.5-2

Rebuild for miniupnpc https://www.archlinux.org/todo/miniupnpc-1920150206/
Build OCaml from sources - mldonkey requires specific old version of the compiler

Modified:
  mldonkey/trunk/PKGBUILD

----------+
 PKGBUILD |   15 +++++++++++----
 1 file changed, 11 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-03-30 20:46:50 UTC (rev 130387)
+++ PKGBUILD	2015-03-30 22:01:53 UTC (rev 130388)
@@ -3,7 +3,7 @@
 
 pkgname=mldonkey
 pkgver=3.1.5
-pkgrel=1
+pkgrel=2
 pkgdesc='A multi-network P2P client'
 arch=(i686 x86_64)
 url='http://mldonkey.sourceforge.net/'
@@ -17,15 +17,22 @@
 source=(http://downloads.sourceforge.net/sourceforge/mldonkey/$pkgname-$pkgver.tar.bz2
         mldonkey.conf
         mldonkey.service
-        mldonkey.tmpfiles)
+        mldonkey.tmpfiles
+        http://caml.inria.fr/distrib/ocaml-3.12/ocaml-3.12.0.tar.gz
+        https://forge.ocamlcore.org/frs/download.php/561/lablgtk-2.14.2.tar.gz)
 sha256sums=('74f9d4bcc72356aa28d0812767ef5b9daa03efc5d1ddabf56447dc04969911cb'
             'f1d9401cefd591662d49011c53fdb2788755a6f745a963e46d8037b990edeb6a'
             '778cebe8edcffd63db3594054c2daa62ce571644a96ad235b8c95470b55c0415'
-            '45f45d2a3c064d5bbc0b6b9b70fa3497ed47cfecdd1ec52e175311f48eaa89dc')
+            '45f45d2a3c064d5bbc0b6b9b70fa3497ed47cfecdd1ec52e175311f48eaa89dc'
+            'd964b385e110c1517c9de1c6331476d5e7a3585cc692b6b6b8973f3a9be7da4b'
+            '4981abedabdc462303f345104042c88af227ccd50fd30a9bf48fd353ab02d0ba')
 
 build() {
   cd mldonkey-$pkgver
-  ./configure --prefix=/usr --enable-gui=newgui2 --enable-upnp-natpmp
+  cp ../ocaml-3.12.0.tar.gz patches/
+  cp ../lablgtk-2.14.2.tar.gz patches/
+  # mldonkey requires the old version of ocaml
+  ./configure --prefix=/usr --enable-gui=newgui2 --enable-upnp-natpmp --enable-batch
   make
 }
 



More information about the arch-commits mailing list