Skip to content

Commit 34c3a60

Browse files
committed
New package: geany-editorconfig-plugin-0.2.1
1 parent a5c177f commit 34c3a60

File tree

1 file changed

+27
-0
lines changed
  • srcpkgs/geany-editorconfig-plugin

1 file changed

+27
-0
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
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+
}

0 commit comments

Comments
 (0)