2011-10-14 15:45:29 +00:00
|
|
|
# Template file for 'libfm'
|
|
|
|
pkgname=libfm
|
2014-02-19 12:19:19 +00:00
|
|
|
version=1.2.0
|
2014-04-04 11:39:11 +00:00
|
|
|
revision=2
|
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-01-25 11:24:39 +00:00
|
|
|
makedepends="libexif-devel dbus-glib-devel gtk+-devel menu-cache-devel vala-devel udisks"
|
2014-01-01 15:10:11 +00:00
|
|
|
depends="desktop-file-utils udisks"
|
|
|
|
conf_files="
|
|
|
|
/etc/xdg/libfm/libfm.conf
|
|
|
|
/etc/xdg/libfm/pref-apps.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"
|
|
|
|
checksum=f0513484e43dcc576097508b7d666f7eb72530963e5a21692034a7ea6a6efc22
|
2014-01-25 11:24:39 +00:00
|
|
|
|
|
|
|
pre_configure() {
|
2014-01-25 11:39:14 +00:00
|
|
|
sed -e '/AM_INIT_AUTOMAKE/s/foreign/& subdir-objects/' -i configure.ac
|
|
|
|
autoreconf -fi
|
2014-01-25 11:24:39 +00:00
|
|
|
}
|
2012-09-22 09:29:38 +00:00
|
|
|
|
2013-04-13 08:15:49 +00:00
|
|
|
libfm-devel_package() {
|
2014-01-25 11:24:39 +00:00
|
|
|
depends="gtk+-devel menu-cache-devel libfm>=${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
|
|
|
}
|
|
|
|
}
|