2011-10-14 15:45:29 +00:00
|
|
|
# Template file for 'libfm'
|
2014-10-25 21:35:25 +00:00
|
|
|
#
|
|
|
|
# THIS PKG MUST BE SYNCHRONIZED WITH "srcpkgs/libfm-extra"
|
|
|
|
#
|
2011-10-14 15:45:29 +00:00
|
|
|
pkgname=libfm
|
2014-10-15 21:50:10 +00:00
|
|
|
version=1.2.3
|
2014-10-25 21:35:25 +00:00
|
|
|
revision=3
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2012-08-13 14:18:13 +00:00
|
|
|
configure_args="--enable-udisks --disable-static"
|
2014-01-25 11:39:14 +00:00
|
|
|
hostmakedepends="automake glib-devel gtk-doc gettext-devel libtool pkg-config intltool"
|
2014-08-28 14:40:31 +00:00
|
|
|
makedepends="libexif-devel dbus-glib-devel gtk+-devel menu-cache-devel vala-devel"
|
2014-10-25 21:35:25 +00:00
|
|
|
depends="libfm-extra>=${version}_${revision} desktop-file-utils"
|
2014-10-15 21:50:10 +00:00
|
|
|
conf_files="/etc/xdg/libfm/libfm.conf"
|
2011-10-14 15:45:29 +00:00
|
|
|
short_desc="LXDE GLib/GIO based library"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2012-08-13 14:18:13 +00:00
|
|
|
homepage="http://pcmanfm.sourceforge.net/"
|
|
|
|
license="GPL-2"
|
2014-02-19 12:19:19 +00:00
|
|
|
distfiles="${SOURCEFORGE_SITE}/pcmanfm/$pkgname-$version.tar.xz"
|
2014-10-15 21:50:10 +00:00
|
|
|
checksum=c692f1624a4cbc8d1dd55f3b3f3369fbf5d26f63a916e2c295230b2344e1fbf9
|
2014-01-25 11:24:39 +00:00
|
|
|
|
|
|
|
pre_configure() {
|
2014-01-25 11:39:14 +00:00
|
|
|
autoreconf -fi
|
2014-01-25 11:24:39 +00:00
|
|
|
}
|
2012-09-22 09:29:38 +00:00
|
|
|
|
2014-10-25 21:35:25 +00:00
|
|
|
post_install() {
|
|
|
|
# remove files that belong to libfm-extra
|
|
|
|
rm -f ${DESTDIR}/usr/lib/libfm-extra.so*
|
|
|
|
rm -f ${DESTDIR}/usr/lib/pkgconfig/libfm-extra.pc
|
|
|
|
rm -f ${DESTDIR}/usr/include/libfm/fm-{extra,version,xml-file}.h
|
|
|
|
}
|
|
|
|
|
2013-04-13 08:15:49 +00:00
|
|
|
libfm-devel_package() {
|
2014-10-25 21:35:25 +00:00
|
|
|
depends="gtk+-devel menu-cache-devel ${sourcepkg}>=${version}_${revision}"
|
2013-04-13 08:15:49 +00:00
|
|
|
short_desc+=" -- development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2014-01-25 11:24:39 +00:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-13 08:15:49 +00:00
|
|
|
}
|
|
|
|
}
|