File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed
srcpkgs/geany-editorconfig-plugin Expand file tree Collapse file tree 1 file changed +27
-0
lines changed 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+ make_build_args="EDITORCONFIG_PREFIX=/usr"
6+ hostmakedepends="make pkg-config"
7+ makedepends="geany-devel editorconfig-devel"
8+ short_desc="EditorConfig plugin for Geany"
9+ maintainer="zenobit <
[email protected] >"
10+ license="GPL-2.0-only"
11+ homepage="https://github.com/editorconfig/editorconfig-geany"
12+ distfiles="https://github.com/editorconfig/editorconfig-geany/archive/refs/tags/v${version}.tar.gz"
13+ checksum=7df4990c49753aaece5a0994bd23eb9e55d0fd9c9f2947293cb13abe09341daa
14+
15+ CFLAGS+=" -fPIC"
16+ LDFLAGS+=" -shared -leditorconfig"
17+
18+ do_build() {
19+ make ${makejobs} CC="${CC}" \
20+ CFLAGS+="$(pkg-config --cflags geany)" \
21+ LDFLAGS+="$(pkg-config --libs geany)"
22+ }
23+
24+ do_install() {
25+ local plugindir=$(pkg-config --variable=libdir geany)/geany
26+ vinstall editorconfig-geany.so 755 "${plugindir}"
27+ }
You can’t perform that action at this time.
0 commit comments