Merge pull request #3464 from stpx/scrot
{giblib,scrot}: use debian distfiles mirror.
This commit is contained in:
commit
7c469995c9
2 changed files with 16 additions and 5 deletions
|
@ -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 <xtraeme@voidlinux.eu>"
|
||||
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}"
|
||||
|
|
|
@ -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 <xtraeme@voidlinux.eu>"
|
||||
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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue