diff --git a/srcpkgs/libguess/template b/srcpkgs/libguess/template index e89647d0251..13d7746b9fb 100644 --- a/srcpkgs/libguess/template +++ b/srcpkgs/libguess/template @@ -1,27 +1,23 @@ # Template file for 'libguess' pkgname=libguess -version=1.1 -revision=4 +version=1.2 +revision=1 build_style=gnu-configure hostmakedepends="pkg-config" makedepends="libmowgli-devel" short_desc="High-speed character set detection library" maintainer="Juan RP " homepage="http://www.atheme.org/project/libguess" -license="custom" -distfiles="http://distfiles.atheme.org/${pkgname}-${version}.tar.gz" -checksum=e3c9ad3102c9447c591131674135795fb012e073d92e887a2b05c9bbbcbe913f - -pre_configure() { - sed -i 's/libmowgli >= 0.9.50/libmowgli-2/g' configure -} +license="3-clause-BSD" +distfiles="http://rabbit.dereferenced.org/~nenolod/distfiles/libguess-${version}.tar.bz2" +checksum=8019a16bdc7ca9d2efbdcc1429d48d033d5053d42e45fccea10abf98074f05f8 post_install() { - vinstall COPYING 644 usr/share/licenses/${pkgname} + vlicense COPYING } libguess-devel_package() { - depends="libmowgli-devel ${sourcepkg}>=${version}_${revision}" + depends="${makedepends} ${sourcepkg}-${version}_${revision}" short_desc+=" - development files" pkg_install() { vmove usr/include