From cd7f8f9b1ffc66bea97decbd0a6d8d5ff08a9371 Mon Sep 17 00:00:00 2001 From: Danny Rawlins Date: Tue, 8 Jul 2014 17:08:32 +1000 Subject: [PATCH] aria2: romster -> contrib --- aria2/.footprint | 6 ++++++ aria2/.md5sum | 1 + aria2/Pkgfile | 25 +++++++++++++++++++++++++ 3 files changed, 32 insertions(+) create mode 100644 aria2/.footprint create mode 100644 aria2/.md5sum create mode 100644 aria2/Pkgfile diff --git a/aria2/.footprint b/aria2/.footprint new file mode 100644 index 000000000..c80da61d9 --- /dev/null +++ b/aria2/.footprint @@ -0,0 +1,6 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/aria2c +drwxr-xr-x root/root usr/man/ +drwxr-xr-x root/root usr/man/man1/ +-rw-r--r-- root/root usr/man/man1/aria2c.1.gz diff --git a/aria2/.md5sum b/aria2/.md5sum new file mode 100644 index 000000000..526d80dde --- /dev/null +++ b/aria2/.md5sum @@ -0,0 +1 @@ +806d4518502d648347b1cbb3b31f1ed9 aria2-1.18.5.tar.xz diff --git a/aria2/Pkgfile b/aria2/Pkgfile new file mode 100644 index 000000000..e75d9ca31 --- /dev/null +++ b/aria2/Pkgfile @@ -0,0 +1,25 @@ +# Description: High speed download utility with resuming and segmented features. +# URL: http://aria2.sourceforge.net/ +# Maintainer: Danny Rawlins, monster dot romster at gmail dot com +# Packager: Younes Hafri ycrux at club dash internet dot fr +# Depends on: c-ares gnutls libgmp libxml2 + +name=aria2 +version=1.18.5 +release=2 +source=(http://downloads.sourceforge.net/sourceforge/$name/$name-$version.tar.xz) + +build() { + cd $name-$version + + ./configure \ + --prefix=/usr \ + --mandir=$PKG/usr/man \ + --disable-nls + + make + make prefix=$PKG/usr install + + rm -r $PKG/usr/share/doc $PKG/usr/man/{ru,pt} + rmdir $PKG/usr/share +}