47 lines
1.3 KiB
Bash
47 lines
1.3 KiB
Bash
# Template file for 'nemo'
|
|
pkgname=nemo
|
|
version=4.0.3
|
|
revision=1
|
|
build_style=meson
|
|
pycompile_dirs="/usr/share/nemo/actions/myaction.py"
|
|
hostmakedepends="gettext-devel glib-devel gnome-common intltool pkg-config
|
|
gobject-introspection"
|
|
makedepends="cinnamon-desktop-devel dconf-devel exempi-devel gvfs-devel
|
|
libexif-devel libnotify-devel tracker-devel xapps-devel"
|
|
depends="cinnamon-translations dconf gvfs"
|
|
short_desc="The Cinnamon file manager (nautilus fork)"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
license="GPL-2.0-or-later, LGPL-2.0-or-later"
|
|
homepage="http://developer.linuxmint.com/projects/cinnamon-projects.html/"
|
|
distfiles="https://github.com/linuxmint/${pkgname}/archive/${version}.tar.gz"
|
|
checksum=988b9ac7a2afe348a1a03b52eebdb56d07b55c80b33d5549622fd7141324a29c
|
|
|
|
do_check() {
|
|
:
|
|
# requires a display
|
|
# Gtk-WARNING **: 18:34:08.533: cannot open display:
|
|
}
|
|
|
|
pre_configure() {
|
|
# Rename 'Files' app name to avoid having the same as nautilus
|
|
sed -i 's/^Name\(.*\)=.*/Name\1=Nemo/' data/nemo.desktop.in
|
|
}
|
|
|
|
libnemo_package() {
|
|
short_desc+=" - runtime library"
|
|
pkg_install() {
|
|
vmove "usr/lib/*.so.*"
|
|
}
|
|
}
|
|
|
|
nemo-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="libglib-devel gtk+3-devel libnemo>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
vmove usr/share/gir-1.0
|
|
}
|
|
}
|