void-packages/srcpkgs/libfm-extra/template
maxice8 838d03168c libfm-extra: update to 1.3.0.2.
Closes #14229.

Signed-off-by: Enno Boland <gottox@voidlinux.eu>
2018-05-09 14:19:06 +02:00

34 lines
1,015 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.0.2
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="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2.0-or-later"
homepage="http://pcmanfm.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/pcmanfm/libfm-${version}.tar.xz"
checksum=18d06f7996ce1cf8947df6e106bc0338c6ae0c4138c316f2501f6f6f435c7c72
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
}
}