void-packages/srcpkgs/io.elementary.files/template

39 lines
1.2 KiB
Bash

# Template file for 'io.elementary.files'
pkgname=io.elementary.files
version=6.2.1
revision=1
build_style=meson
configure_args="-Dsystemduserunitdir=no"
hostmakedepends="vala glib-devel pkg-config gettext"
makedepends="gtk+3-devel libglib-devel libgee08-devel sqlite-devel plank-devel
libcanberra-devel granite-devel pango-devel zeitgeist-devel dbus-glib-devel
libnotify-devel libcloudproviders-devel libgit2-glib-devel libhandy1-devel"
depends="accountsservice gvfs"
short_desc="File browser designed for elementary OS"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="https://github.com/elementary/files"
distfiles="https://github.com/elementary/files/archive/${version}.tar.gz"
checksum=780ae93df5eff6d201c3b07d3f3d22226ba24cd56687b96a9d187600b96bd605
CFLAGS="-fcommon"
libio.elementary.files_package() {
short_desc+=" - library"
pkg_install() {
vmove "usr/lib/*.so.*"
}
}
libio.elementary.files-devel_package() {
short_desc+=" - library development files"
depends="libio.elementary.files>=${version} libgee08-devel gtk+3-devel
libcanberra-devel libglib-devel zeitgeist-devel libhandy1-devel"
pkg_install() {
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
vmove usr/include
vmove usr/share/vala
}
}