#!/usr/bin/env bash
name='nemo'
release='3'
version='6.2.0'
url='https://github.com/linuxmint/nemo'
description='File manager for the Cinnamon desktop environment'
email='brkt8khn@gmail.com'
maintainer='brkt8khn'
license=('GPLv2')
source=("https://github.com/linuxmint/nemo/archive/refs/tags/${version}.tar.gz")
depends=(cinnamon-desktop dconf gvfs libexif libgsf libnotify libxml2 python xapp)
makedepends=(meson intltool gobject-introspection)
sha256sums=('be779219f531601ea44245d0dccfbd606f96011e6343c2896c1f52c7b49d4fcc')
group=(cinnamon.base)
uses=()
arch=('x86_64')

cd $name-$version

setup () {
    meson setup build --prefix=/usr \
 		--libdir=/usr/lib64/ \
		-Dxmp=false \
		-Dselinux=false
}

build () {
    ninja -C build $jobs
}

package () {
    DESTDIR="$DESTDIR" ninja -C build install $jobs
}