void-packages/srcpkgs/libfm-extra/template

34 lines
1,014 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.3.1
revision=1
wrksrc="libfm-${version}"
build_style=gnu-configure
configure_args="--with-extra-only --with-gtk=no --disable-static"
hostmakedepends="intltool pkg-config"
makedepends="libglib-devel"
short_desc="LXDE GLib/GIO based library (extra library)"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="http://pcmanfm.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/pcmanfm/libfm-${version}.tar.xz"
checksum=96b1244bde41ca0eef0332cfb5c67bb16725dfd102128f3e6f74fadc13a1cfe4
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
}
}