52 lines
1.5 KiB
Plaintext
52 lines
1.5 KiB
Plaintext
# Template file for 'nemo'
|
|
pkgname=nemo
|
|
version=2.2.4
|
|
revision=1
|
|
short_desc="The Cinnamon file manager (nautilus fork)"
|
|
build_style=gnu-configure
|
|
configure_args=" --disable-static --disable-update-mimedb
|
|
--disable-packagekit --disable-gtk-doc-html --disable-schemas-compile"
|
|
hostmakedepends="automake libtool gnome-common pkg-config gobject-introspection
|
|
gettext-devel intltool xmlto docbook-xml gtk-doc git gir-freedesktop
|
|
python-polib python-gobject"
|
|
makedepends="libexif-devel gvfs-devel dconf-devel exempi-devel
|
|
cinnamon-desktop-devel libnotify-devel libxml2-devel"
|
|
depends="gvfs dconf gnome-icon-theme cinnamon-translations desktop-file-utils hicolor-icon-theme"
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
license="GPL-3"
|
|
update_site="https://github.com/linuxmint/${pkgname}/tags"
|
|
update_pattern='archive/\K[\d.]+(?=\.tar\.gz)'
|
|
homepage="http://cinnamon.linuxmint.com/"
|
|
|
|
do_fetch() {
|
|
git clone -b ${version} git://github.com/linuxmint/${pkgname} ${pkgname}-${version}
|
|
}
|
|
|
|
pre_configure() {
|
|
# Fix build
|
|
sed -i '/AC_SUBST(DISABLE_DEPRECATED_CFLAGS)/d' configure.in
|
|
|
|
# Rename 'Files' app name to avoid having the same as nautilus
|
|
sed -i 's/^Name\(.*\)=.*/Name\1=Nemo/' data/nemo.desktop.in.in
|
|
|
|
NOCONFIGURE=1 ./autogen.sh
|
|
}
|
|
|
|
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
|
|
}
|
|
}
|