mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-22 00:57:01 +02:00
38 lines
1.1 KiB
Bash
38 lines
1.1 KiB
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.4.0
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--with-extra-only --with-gtk=no --disable-static"
|
|
hostmakedepends="automake gettext-devel glib-devel intltool libtool
|
|
pkg-config gtk-doc"
|
|
makedepends="libglib-devel"
|
|
short_desc="LXDE GLib/GIO based library (extra library)"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://github.com/lxde/libfm"
|
|
distfiles="https://github.com/lxde/libfm/archive/refs/tags/${version}.tar.gz"
|
|
checksum=7d7b616411992389a4b7f35796109d605f30bc2ceab84d4081d1665254ebbf82
|
|
|
|
pre_configure() {
|
|
autoreconf -fi
|
|
}
|
|
|
|
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
|
|
}
|
|
}
|