Skip to content

Instantly share code, notes, and snippets.

@vinipsmaker
Created April 29, 2013 02:03
Show Gist options
  • Save vinipsmaker/5479310 to your computer and use it in GitHub Desktop.
Save vinipsmaker/5479310 to your computer and use it in GitHub Desktop.
# Maintainer: Erik van der Kolk <developer at smerik dot nl>
pkgname=editorconfig-core
pkgver=0.11.4
pkgrel=1
pkgdesc="EditorConfig core code written in C (for use by plugins supporting EditorConfig parsing)"
arch=('i686' 'x86_64')
url="https://github.com/editorconfig/${pkgname}"
license=('BSD')
depends=('glibc')
makedepends=('cmake')
changelog=CHANGELOG
source=("https://github.com/editorconfig/editorconfig-core/archive/v${pkgver}.tar.gz")
md5sums=('6e295980ea09afc30413e01258ce48e9')
build() {
cd "${srcdir}/editorconfig-core-${pkgver}"
msg "Starting make..."
cmake -D CMAKE_INSTALL_PREFIX=/usr .
make
}
package() {
cd "${srcdir}/editorconfig-core-${pkgver}"
make DESTDIR="${pkgdir}" install
msg "Including license..."
install -v -D -m 644 "${srcdir}/editorconfig-core-${pkgver}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment