1 # Maintainer: Bruno Pagani <archange@archlinux.org>
2 # Contributor: Eli Schwartz <eschwartz@archlinux.org>
3 # Contributor: Alexandre Filgueira <alexfilgueira@cinnarch.com>
9 pkgdesc="Cinnamon file manager (Nautilus fork)"
11 url="https://github.com/linuxmint/${pkgname}"
13 depends=(cinnamon-desktop dconf gvfs exempi libexif libnotify libxml2
15 optdepends=('cinnamon-translations: i18n'
16 'ffmpegthumbnailer: support for video thumbnails'
17 'catdoc: search helpers support for legacy MS Office files'
18 'ghostscript: search helpers support for PostScript files'
19 'libgsf: search helpers support for MS Office files'
20 'libreoffice: search helpers support for legacy MS Office powerpoint files'
21 'odt2txt: search helpers support for LibreOffice files'
22 'poppler: search helpers support for PDF')
23 makedepends=(meson samurai gobject-introspection intltool libgsf)
24 source=(${url}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
25 sha512sums=('b37181e419d5a9427931d29f2addf9faebca7d74d8b8337dc9cb62ebc3b8f8d9dcef978bc6fc9be65efc41bd2a153685849f10cac9e28ffb3ccb3a8dee5aa739')
26 b2sums=('1ead71e79170e977e21dd631f7875198b3aa411689bd59b9c64b50a3c3b02a396f2b1cbc1e1420bf242004a6a724b8498e7e0cdd2b48b9d5e54ed97d21331cba')
29 cd ${pkgname}-${pkgver}
30 # Rename 'Files' app name to avoid having the same as nautilus
31 sed -i '/^\[Desktop Entry/,/^\[Desktop Action/ s/^Name\(.*\)=.*/Name\1=Nemo/' data/nemo.desktop.in
35 arch-meson --libexecdir=lib/${pkgname} ${pkgname}-${pkgver} build
40 DESTDIR="${pkgdir}" samu -C build install