diff --git a/srcpkgs/libcaca/template b/srcpkgs/libcaca/template index cce70927d53..a565cf1e600 100644 --- a/srcpkgs/libcaca/template +++ b/srcpkgs/libcaca/template @@ -1,16 +1,19 @@ # Template file for 'libcaca' pkgname=libcaca version=0.99.beta19 -revision=6 +revision=7 build_style=gnu-configure hostmakedepends="libtool automake pkg-config" short_desc="Graphics library that outputs text instead of pixels" maintainer="Juan RP " -makedepends="ncurses-devel" +makedepends="ncurses-devel $(vopt_if x11 libX11-devel)" homepage="http://caca.zoy.org/wiki/libcaca" license="WTFPL" -distfiles="http://caca.zoy.org/files/libcaca/libcaca-${version}.tar.gz" -checksum=128b467c4ed03264c187405172a4e83049342cc8cc2f655f53a2d0ee9d3772f4 +distfiles="https://github.com/cacalabs/libcaca/archive/v${version}.tar.gz" +checksum=7ed29a00cc7f017424d8b2994f001f137ed5bc4441987b711d78c6734fdf3493 + +# package build options +build_options="x11" pre_configure() { sed -i -e 's,AM_CONFIG_HEADER,AC_CONFIG_HEADERS,' configure.ac