void-packages/srcpkgs/libfm/template
2014-02-19 13:19:19 +01:00

33 lines
1 KiB
Text

# Template file for 'libfm'
pkgname=libfm
version=1.2.0
revision=1
build_style=gnu-configure
configure_args="--enable-udisks --disable-static"
hostmakedepends="automake glib-devel gtk-doc gettext-devel libtool pkg-config intltool"
makedepends="libexif-devel dbus-glib-devel gtk+-devel menu-cache-devel vala-devel udisks"
depends="desktop-file-utils udisks"
conf_files="
/etc/xdg/libfm/libfm.conf
/etc/xdg/libfm/pref-apps.conf"
short_desc="LXDE GLib/GIO based library"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://pcmanfm.sourceforge.net/"
license="GPL-2"
distfiles="${SOURCEFORGE_SITE}/pcmanfm/$pkgname-$version.tar.xz"
checksum=f0513484e43dcc576097508b7d666f7eb72530963e5a21692034a7ea6a6efc22
pre_configure() {
sed -e '/AM_INIT_AUTOMAKE/s/foreign/& subdir-objects/' -i configure.ac
autoreconf -fi
}
libfm-devel_package() {
depends="gtk+-devel menu-cache-devel libfm>=${version}_${revision}"
short_desc+=" -- development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}