void-packages/srcpkgs/libfm-extra/template
2016-02-21 09:20:41 +01:00

34 lines
1,002 B
Bash

# 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.4
revision=1
wrksrc="libfm-${version}"
build_style=gnu-configure
configure_args="--with-extra-only --with-gtk=no --disable-static"
hostmakedepends="pkg-config intltool"
makedepends="libglib-devel"
short_desc="LXDE GLib/GIO based library (extra library)"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://pcmanfm.sourceforge.net/"
license="GPL-2"
distfiles="${SOURCEFORGE_SITE}/pcmanfm/libfm-${version}.tar.xz"
checksum=7804f6f28cb3d1bc8ffb3151ab7ff0c063b27c5f9b06c682eb903e01cf25502f
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
}
}