37 lines
1.2 KiB
Bash
37 lines
1.2 KiB
Bash
# Template file for 'io.elementary.code'
|
|
pkgname=io.elementary.code
|
|
version=6.1.0
|
|
revision=2
|
|
wrksrc="code-${version}"
|
|
build_style=meson
|
|
hostmakedepends="pkg-config vala gettext polkit glib-devel"
|
|
makedepends="editorconfig-devel libgee08-devel granite-devel libpeas-devel
|
|
gtksourceview4-devel vte3-devel gtkspell3-devel libsoup-devel
|
|
gtk+3-devel libgit2-glib-devel polkit-devel libhandy1-devel"
|
|
short_desc="Code editor designed for elementary OS"
|
|
maintainer="Cameron Nemo <cnemo@tutanota.com>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="https://github.com/elementary/code"
|
|
distfiles="https://github.com/elementary/code/archive/${version}.tar.gz"
|
|
checksum=d44851eb827dc9a069ab81b6a9cfe255795e3319a6882ca344152781968ce3ce
|
|
|
|
libio.elementary.code_package() {
|
|
short_desc+=" - library"
|
|
pkg_install() {
|
|
vmove "usr/lib/*.so.*"
|
|
}
|
|
}
|
|
|
|
libio.elementary.code-devel_package() {
|
|
short_desc+=" - library development files"
|
|
depends="libio.elementary.code>=${version} fontconfig-devel granite-devel
|
|
gtk+3-devel gtksourceview4-devel libgee08-devel libgit2-glib-devel
|
|
libglib-devel libpeas-devel pango-devel polkit-devel libhandy1-devel"
|
|
pkg_install() {
|
|
vmove "usr/lib/*.so"
|
|
vmove usr/lib/pkgconfig
|
|
vmove usr/include
|
|
vmove usr/share/vala
|
|
}
|
|
}
|