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

36 lines
1.1 KiB
Bash

# Template file for 'io.elementary.files'
pkgname=io.elementary.files
version=4.0
revision=2
wrksrc="files-${version}"
build_style=cmake
hostmakedepends="vala pkg-config intltool"
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"
short_desc="File browser designed for elementary OS"
maintainer="Cameron Nemo <camerontnorman@gmail.com>"
license="GPL-3.0-or-later"
homepage="https://github.com/elementary/files"
distfiles="https://github.com/elementary/files/archive/${version}.tar.gz"
checksum=fc466b8ee32f8fdf4746955fcd4a6ecd9e9787b9cea6ebde3d6f9777c4ea82b9
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 libgee08-devel libglib-devel zeitgeist-devel"
pkg_install() {
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
vmove usr/include
vmove usr/share/vala
}
}