File tree Expand file tree Collapse file tree
srcpkgs/geany-editorconfig-plugin Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # Template file for 'geany-editorconfig-plugin'
2+ pkgname=geany-editorconfig-plugin
3+ version=0.2.1
4+ revision=1
5+ #build_style=gnu-makefile
6+ make_build_args="EDITORCONFIG_PREFIX=/usr"
7+ hostmakedepends="make pkg-config"
8+ makedepends="geany-devel editorconfig-devel"
9+ short_desc="EditorConfig plugin for Geany"
10+ maintainer="zenobit <zenobit@disroot.org>"
11+ license="GPL-2.0-only"
12+ homepage="https://github.com/editorconfig/editorconfig-geany"
13+ distfiles="https://github.com/editorconfig/editorconfig-geany/archive/refs/tags/v${version}.tar.gz"
14+ checksum=7df4990c49753aaece5a0994bd23eb9e55d0fd9c9f2947293cb13abe09341daa
15+
16+ CFLAGS+=" -fPIC"
17+ LDFLAGS+=" -shared -leditorconfig"
18+
19+ do_build() {
20+ make ${makejobs} CC="${CC}" \
21+ CFLAGS+="$(pkg-config --cflags geany)" \
22+ LDFLAGS+="$(pkg-config --libs geany)"
23+ }
24+
25+ do_install() {
26+ local plugindir=$(pkg-config --variable=libdir geany)/geany
27+ vinstall editorconfig-geany.so 755 "${plugindir}"
28+ }
You can’t perform that action at this time.
0 commit comments