New package: libchardet-1.0.4

This commit is contained in:
Juan RP 2015-09-14 07:22:10 +02:00
parent 14d2b7fe8a
commit ea07935e81
3 changed files with 31 additions and 0 deletions

View file

@ -2162,3 +2162,4 @@ liblo10k1.so.0 alsa-tools-1.0.29_1
libgflags.so.2 gflags-2.1.2_1
libgflags_nothreads.so.2 gflags-2.1.2_1
libswmhack.so.0.0 spectrwm-2.7.2_1
libchardet.so.1 libchardet-1.0.4_1

1
srcpkgs/libchardet-devel Symbolic link
View file

@ -0,0 +1 @@
libchardet

View file

@ -0,0 +1,29 @@
# Template build file for 'libchardet'.
pkgname=libchardet
version=1.0.4
revision=1
build_style=gnu-configure
hostmakedepends="perl"
short_desc="Mozilla's Universal Charset Detector C/C++ API"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://ftp.oops.org/pub/oops/libchardet/"
license="MPL-1.1"
distfiles="http://ftp.oops.org/pub/oops/libchardet/libchardet-${version}.tar.bz2"
checksum=f43f5a63901f19780b5cd61ad130d432a9414e2e4da2abc0e1b80845895a7c33
post_install() {
rm -rf ${DESTDIR}/usr/share/doc
}
libchardet-devel_package() {
depends="${sourcepkg}-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/bin
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/*.a
vmove usr/lib/*.so
vmove usr/share/man
}
}