35 lines
1.0 KiB
Bash
35 lines
1.0 KiB
Bash
# Template file for 'io.elementary.code'
|
|
pkgname=io.elementary.code
|
|
version=3.0
|
|
revision=1
|
|
wrksrc="code-${version}"
|
|
build_style=meson
|
|
hostmakedepends="pkg-config vala intltool"
|
|
makedepends="editorconfig-devel libgee08-devel granite-devel libpeas-devel
|
|
gtksourceview-devel vte3-devel gtkspell3-devel zeitgeist-devel libsoup-devel
|
|
webkit2gtk-devel gtk+3-devel libgit2-glib-devel"
|
|
short_desc="Code editor designed for elementary OS"
|
|
maintainer="Cameron Nemo <camerontnorman@gmail.com>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="https://github.com/elementary/code"
|
|
distfiles="${homepage}/archive/${version}.tar.gz"
|
|
checksum=a813b8fc2d9b2972702df6a5a779d150b44e14f8c555e49b4bef8309168b03c1
|
|
|
|
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}"
|
|
pkg_install() {
|
|
vmove "usr/lib/*.so"
|
|
vmove usr/lib/pkgconfig
|
|
vmove usr/include
|
|
vmove usr/share/vala
|
|
}
|
|
}
|