diff options
author | sputnick | 2015-06-19 00:06:14 +0200 |
---|---|---|
committer | sputnick | 2015-06-19 00:06:14 +0200 |
commit | 3ec68d61a73e8f0b04fc61230f6d570bf78e19a1 (patch) | |
tree | 2c67943415a55fd9318fca2868a8112c170e7d1a | |
download | aur-3ec68d61a73e8f0b04fc61230f6d570bf78e19a1.tar.gz |
Initial jidgo commit
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 30 | ||||
-rw-r--r-- | jigdo-0.7.3-gcc43.patch | 80 |
3 files changed, 128 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..ac2450edb968 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +pkgbase = jigdo + pkgdesc = Jigsaw Download, or short jigdo, is a tool designed to ease the distribution of very large files over the internet, for example CD or DVD images + pkgver = 0.7.3 + pkgrel = 4 + url = http://atterer.org/jigdo/ + arch = i686 + arch = x86_64 + license = GPL2 + depends = gtk2>=2.4.0 + depends = bzip2 + depends = curl + source = http://atterer.org/sites/atterer/files/2009-08/jigdo/jigdo-0.7.3.tar.bz2 + source = https://raw2.github.com/sputnick-dev/aur/master/jigdo/jigdo-0.7.3-gcc43.patch + md5sums = bbc1d9ac750bb34e0748f0b57157cc72 + md5sums = 0133ce4fd63c872a26e1c19b627eb2db + +pkgname = jigdo + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..4e81269bbcb4 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,30 @@ +# Maintener : sputnick <gilles DOT quenot AT gmail DOT com> +# Contributor: Carlos Ruiz <cailovirtual@gmail.com> + +pkgname=jigdo +pkgver=0.7.3 +pkgrel=4 +pkgdesc="Jigsaw Download, or short jigdo, is a tool designed to ease the distribution of very large files over the internet, for example CD or DVD images" +url="http://atterer.org/jigdo/" +license=("GPL2") +arch=('i686' 'x86_64') +depends=('gtk2>=2.4.0' 'bzip2' 'curl') +source=( + "http://atterer.org/sites/atterer/files/2009-08/$pkgname/$pkgname-$pkgver.tar.bz2" + "https://raw2.github.com/sputnick-dev/aur/master/$pkgname/$pkgname-$pkgver-gcc43.patch" +) + +md5sums=('bbc1d9ac750bb34e0748f0b57157cc72' + '0133ce4fd63c872a26e1c19b627eb2db') + +build() { + cd $startdir/src/$pkgname-$pkgver + patch -Np1 -i ../jigdo-0.7.3-gcc43.patch || return 1 + ./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info + make || return 1 +} + +package() { + cd $startdir/src/$pkgname-$pkgver + make DESTDIR=$pkgdir install || return 1 +} diff --git a/jigdo-0.7.3-gcc43.patch b/jigdo-0.7.3-gcc43.patch new file mode 100644 index 000000000000..07356f0233ee --- /dev/null +++ b/jigdo-0.7.3-gcc43.patch @@ -0,0 +1,80 @@ +diff -ur jigdo-0.7.3.orig/src/compat.hh jigdo-0.7.3/src/compat.hh +--- jigdo-0.7.3.orig/src/compat.hh 2005-07-02 10:21:35.000000000 -0700 ++++ jigdo-0.7.3/src/compat.hh 2008-03-11 23:01:45.000000000 -0700 +@@ -20,6 +20,7 @@ + + #include <string> + #include <stdio.h> ++#include <stdlib.h> + #include <unistd-jigdo.h> + #include <sys/stat.h> + #include <sys/types.h> +diff -ur jigdo-0.7.3.orig/src/gtk/gtk-single-url.cc jigdo-0.7.3/src/gtk/gtk-single-url.cc +--- jigdo-0.7.3.orig/src/gtk/gtk-single-url.cc 2005-10-15 14:27:39.000000000 -0700 ++++ jigdo-0.7.3/src/gtk/gtk-single-url.cc 2008-03-11 23:05:48.000000000 -0700 +@@ -15,6 +15,7 @@ + + #include <time.h> + #include <errno.h> ++#include <string.h> + + #include <autoptr.hh> + #include <gtk-single-url.hh> +diff -ur jigdo-0.7.3.orig/src/gtk/jigdo.cc jigdo-0.7.3/src/gtk/jigdo.cc +--- jigdo-0.7.3.orig/src/gtk/jigdo.cc 2005-07-09 15:21:04.000000000 -0700 ++++ jigdo-0.7.3/src/gtk/jigdo.cc 2008-03-11 23:06:26.000000000 -0700 +@@ -16,6 +16,8 @@ + # include <unistd-jigdo.h> + #endif + ++#include <string.h> ++ + #include <iostream> + #include <string> + #include <vector> +diff -ur jigdo-0.7.3.orig/src/recursedir.cc jigdo-0.7.3/src/recursedir.cc +--- jigdo-0.7.3.orig/src/recursedir.cc 2006-05-14 11:23:31.000000000 -0700 ++++ jigdo-0.7.3/src/recursedir.cc 2008-03-11 23:04:21.000000000 -0700 +@@ -32,6 +32,7 @@ + #include <recursedir.hh> + + #include <iostream> ++#include <string.h> + #include <errno.h> + #include <sys/stat.h> + #include <sys/types.h> +diff -ur jigdo-0.7.3.orig/src/util/configfile.cc jigdo-0.7.3/src/util/configfile.cc +--- jigdo-0.7.3.orig/src/util/configfile.cc 2003-09-27 14:31:04.000000000 -0700 ++++ jigdo-0.7.3/src/util/configfile.cc 2008-03-11 23:05:00.000000000 -0700 +@@ -19,6 +19,8 @@ + #include <iostream> + #include <fstream> + ++#include <string.h> ++ + #include <configfile.hh> + #include <string.hh> + //______________________________________________________________________ +diff -ur jigdo-0.7.3.orig/src/util/md5sum.hh jigdo-0.7.3/src/util/md5sum.hh +--- jigdo-0.7.3.orig/src/util/md5sum.hh 2005-04-09 16:09:52.000000000 -0700 ++++ jigdo-0.7.3/src/util/md5sum.hh 2008-03-11 23:07:04.000000000 -0700 +@@ -28,6 +28,8 @@ + + #include <config.h> + ++#include <string.h> ++ + #include <cstdlib> + #include <iosfwd> + #include <string> +diff -ur jigdo-0.7.3.orig/src/util/string-utf.cc jigdo-0.7.3/src/util/string-utf.cc +--- jigdo-0.7.3.orig/src/util/string-utf.cc 2004-09-11 16:26:30.000000000 -0700 ++++ jigdo-0.7.3/src/util/string-utf.cc 2008-03-11 23:07:43.000000000 -0700 +@@ -15,6 +15,7 @@ + #include <glib.h> + #include <stdarg.h> + #include <stdio.h> ++#include <string.h> + + #include <debug.hh> + #include <string-utf.hh> |