void-packages/srcpkgs/libfm-extra/template

34 lines
996 B
Text

# Template file for 'libfm-extra'
#
# THIS PKG MUST BE SYNCHRONIZED WITH "srcpkgs/libfm"; IT IS SPLITTED TO AVOID
# A CYCLIC DEPENDENCY: libfm <-> menu-cache
#
pkgname=libfm-extra
version=1.2.3
revision=4
wrksrc="libfm-${version}"
build_style=gnu-configure
configure_args="--with-extra-only --with-gtk=no --disable-static"
hostmakedepends="pkg-config intltool"
makedepends="glib-devel"
short_desc="LXDE GLib/GIO based library (extra library)"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://pcmanfm.sourceforge.net/"
license="GPL-2"
distfiles="${SOURCEFORGE_SITE}/pcmanfm/libfm-${version}.tar.xz"
checksum=c692f1624a4cbc8d1dd55f3b3f3369fbf5d26f63a916e2c295230b2344e1fbf9
post_install() {
# Remove conflicting symlink with libfm.
rm ${DESTDIR}/usr/include/libfm
}
libfm-extra-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" -- development files"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
}
}