Skip to content

Instantly share code, notes, and snippets.

@mono0x mono0x/PKGBUILD forked from vinipsmaker/PKGBUILD
Last active Aug 29, 2015

Embed
What would you like to do?
PKGBUILD for editorconfig-core-c (based on https://aur.archlinux.org/packages/editorconfig-core/)
# Maintainer: Erik van der Kolk <developer at smerik dot nl>
pkgname=editorconfig-core-c
pkgver=0.11.5
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-c/archive/v${pkgver}.tar.gz")
md5sums=('37593dbfd3557173233c27e76b973bb4')
build() {
cd "${srcdir}/editorconfig-core-c-${pkgver}"
msg "Starting make..."
cmake -D CMAKE_INSTALL_PREFIX=/usr .
make
}
package() {
cd "${srcdir}/editorconfig-core-c-${pkgver}"
make DESTDIR="${pkgdir}" install
msg "Including license..."
install -v -D -m 644 "${srcdir}/editorconfig-core-c-${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
You can’t perform that action at this time.