diff --git a/srcpkgs/apvlv-git/template b/srcpkgs/apvlv/template similarity index 57% rename from srcpkgs/apvlv-git/template rename to srcpkgs/apvlv/template index b1610d1dae..f391d6afb5 100644 --- a/srcpkgs/apvlv-git/template +++ b/srcpkgs/apvlv/template @@ -1,19 +1,16 @@ -# Template file for 'apvlv-git' -pkgname=apvlv-git -version=20141224 +# Template file for 'apvlv' +pkgname=apvlv +version=0.1.5 revision=1 build_style=cmake configure_args="-DAPVLV_WITH_UMD=no -DAPVLV_WITH_DJVU=yes -DAPVLV_WITH_TXT=yes" -hostmakedepends="git cmake pkg-config" +hostmakedepends="cmake pkg-config" makedepends="gtk+-devel poppler-glib-devel djvulibre-devel webkitgtk-devel" depends="desktop-file-utils" short_desc="Vim-like PDF/DJVU/TXT viewer" maintainer="Logen K " license="GPL-2" homepage="http://naihe2010.github.io/apvlv/" - -do_fetch() { - local url="git://github.com/naihe2010/apvlv" - msg_normal "Fetching source from $url ...\n" - git clone ${url} ${pkgname}-${version} -} +distfiles="https://github.com/naihe2010/apvlv/archive/v${version}.tar.gz" +checksum="dca98157e63c9fec12d6514751ea26549813dc7b87d838b0003f31a444100a8a" +replaces="apvlv-git>=0"