diff --git a/srcpkgs/axel/template b/srcpkgs/axel/template index 045893bbc5..8bdef75825 100644 --- a/srcpkgs/axel/template +++ b/srcpkgs/axel/template @@ -1,17 +1,18 @@ # Template file for 'axel' pkgname=axel version=2.5 -revision=1 +_patch=+git20160320.625aa0c +revision=2 +wrksrc=${pkgname}-${version}${_patch} build_style=gnu-configure conf_files=/etc/axelrc short_desc="Download accelerator for FTP and HTTP" maintainer="Jürgen Buchmüller " license="GPL-2" homepage="https://axel.alioth.debian.org/" -distfiles="${DEBIAN_SITE}/main/a/axel/axel_${version}.orig.tar.gz" -checksum="02376767e7f9e6c4292333e69ad0f615f62be5df176a8daaee395f25b0ab1a83" +distfiles="${DEBIAN_SITE}/main/a/axel/axel_${version}${_patch}.orig.tar.gz" +checksum="101f2d6578cbfc1e2767f235357bf3ce78c1655fd6dd4d90f5604a9e3a43c559" -post_configure() { - # Fix Makefile so our $CFLAGS are used - sed -i Makefile.settings -e 's; -Os;;' -e 's;CFLAGS=;CFLAGS+=;' +post_install() { + vinstall doc/axelrc.example 644 etc axelrc }