From 99721475d2ef04e3d7137f72d5de4f25ad27a224 Mon Sep 17 00:00:00 2001 From: Steve Prybylski Date: Sun, 24 Jan 2016 17:20:42 -0500 Subject: [PATCH 1/2] giblib: use debian distfiles mirror. --- srcpkgs/giblib/template | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/srcpkgs/giblib/template b/srcpkgs/giblib/template index 15f7cb2e11..96fc85c37a 100644 --- a/srcpkgs/giblib/template +++ b/srcpkgs/giblib/template @@ -1,7 +1,8 @@ # Template build file for 'giblib' pkgname=giblib version=1.2.4 -revision=5 +revision=6 +wrksrc="${pkgname}-${version}.orig" build_style=gnu-configure configure_args="--disable-static --with-imlib2-prefix=${XBPS_CROSS_BASE}/usr" make_install_args="docsdir=/usr/share/doc/giblib" @@ -11,14 +12,19 @@ short_desc="Programming utility library" maintainer="Juan RP " homepage="http://linuxbrit.co.uk/giblib/" license="MIT" -distfiles="http://linuxbrit.co.uk/downloads/$pkgname-$version.tar.gz" -checksum=176611c4d88d742ea4013991ad54c2f9d2feefbc97a28434c0f48922ebaa8bac +#distfiles="http://linuxbrit.co.uk/downloads/$pkgname-$version.tar.gz" +distfiles="${DEBIAN_SITE}/main/g/${pkgname}/${pkgname}_${version}.orig.tar.gz" +checksum=e437756ce3ded019946fb3d979991cda7604bc345dbb1338b17655caff65a3d3 pre_configure() { sed -e 's,imlib2-config --libs,pkg-config --libs imlib2,g' -i configure sed -e 's,imlib2-config --cflags,pkg-config --cflags imlib2,g' -i configure } +post_install() { + vlicense COPYING +} + giblib-devel_package() { depends="imlib2-devel freetype-devel zlib-devel libX11-devel libXext-devel giblib>=${version}_${revision}" From 63570ef5d56270b9e33c581d59f579e64e71dfee Mon Sep 17 00:00:00 2001 From: Steve Prybylski Date: Mon, 25 Jan 2016 19:04:27 -0500 Subject: [PATCH 2/2] scrot: use debian distfiles mirror. --- srcpkgs/scrot/template | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/srcpkgs/scrot/template b/srcpkgs/scrot/template index cf710c5285..a83a55a22b 100644 --- a/srcpkgs/scrot/template +++ b/srcpkgs/scrot/template @@ -1,7 +1,7 @@ # Template file for 'scrot' pkgname=scrot version=0.8 -revision=4 +revision=5 build_style=gnu-configure make_install_args="docsdir=/usr/share/doc/scrot" makedepends="libX11-devel giblib-devel imlib2-devel" @@ -9,5 +9,10 @@ short_desc="A simple command-line screenshot utility for X" maintainer="Juan RP " homepage="http://scrot.sourcearchive.com/" license="MIT" -distfiles="http://linuxbrit.co.uk/downloads/$pkgname-$version.tar.gz" +#distfiles="http://linuxbrit.co.uk/downloads/$pkgname-$version.tar.gz" +distfiles="${DEBIAN_SITE}/main/s/${pkgname}/${pkgname}_${version}.orig.tar.gz" checksum=613d1cf524c2b62ce3c65f1232ea4f05c7daf248d5e82ff2a6892c98093994f2 + +post_install() { + vlicense COPYING +}