### this file is sourced not run
PKGBUILD=1
PKGARCH=x86_64

# source: step
pkgname=editorconfig-core-c

# release tarball
#PKGVER=
#TARBALL=
#MD5SUM=
#SRC_URL=https://github.com/editorconfig/$pkgname/archive/refs/tags/v0.12.6.zip
#BUNDLE=

# git-master tarball
PKGVER=0.12.6
MD5SUM=3fc315547f723b82ee07c0c19656317d
hash=4e6b3bb042cf9ac2bfe11a35ff4d24ea586a5d22 # six commits after 0.12.6 and affects man page only
hash7=${hash#???????}; hash7=${hash%$hash7}
TARBALL=$pkgname-$PKGVER-$hash7.tar.gz
SRC_URL=https://github.com/editorconfig/$pkgname/archive/$hash.tar.gz


SLACKREQ='libpcre2' # add doxygen to build man pages
SLACKDESC="$pkgname: $pkgname $PKGVER (library for editor plugins)
$pkgname:
$pkgname: http://editorconfig.org makes it easy to maintain the correct coding
$pkgname: style when switching between different text editors and between different
$pkgname: projects. This package provides a supporting library for editor plugins.
$pkgname:
$pkgname: https://github.com/editorconfig/editorconfig-core-c
$pkgname:
$pkgname:
$pkgname:
$pkgname:
"
SLACKSUG='editorconfig-geany'

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	pkg_build_cmake &&
	pkg_build_slackdesc &&
	rm -f /usr/lib64/libeditorconfig_static.a
}

# vim:ft=sh:
