42 lines
1.3 KiB
Bash
42 lines
1.3 KiB
Bash
# Template file for 'io.elementary.code'
|
|
pkgname=io.elementary.code
|
|
version=7.3.0
|
|
revision=1
|
|
build_style=meson
|
|
build_helper=gir
|
|
hostmakedepends="pkg-config vala gettext polkit glib-devel"
|
|
makedepends="editorconfig-devel libgee08-devel granite-devel libpeas-devel
|
|
gtksourceview4-devel vte3-devel gtkspell3-devel libglib-devel
|
|
gtk+3-devel libgit2-glib-devel polkit-devel libhandy1-devel pango-devel
|
|
fontconfig-devel"
|
|
short_desc="Code editor designed for elementary OS"
|
|
maintainer="Cameron Nemo <cam@nohom.org>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="https://github.com/elementary/code"
|
|
distfiles="https://github.com/elementary/code/archive/${version}.tar.gz"
|
|
checksum=3cf6abdb91db9a14ab01b353cd39b8da6485c176af5cb67c48ac851656cc1883
|
|
|
|
pre_patch() {
|
|
sed -i '/subdir.*pastebin/d' plugins/meson.build
|
|
}
|
|
|
|
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
|
|
}
|
|
}
|