summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChocobo12017-08-19 15:24:14 +0800
committerChocobo12017-08-19 15:24:40 +0800
commit65004843533199e5b3c8a013c5acb218f068f2ea (patch)
tree396357d7f3a93c84ea57157f85d27f0e5b63b9cb
parent6f434a403d97a9dc83a9eec982d9e9bcba45f84d (diff)
downloadaur-65004843533199e5b3c8a013c5acb218f068f2ea.tar.gz
upgpkg: editorconfig-core-c-git 0.12.1.r16.g6f3c40d-2
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD12
2 files changed, 8 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index eeeedc20649..b83a578e2bd 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,13 +1,14 @@
pkgbase = editorconfig-core-c-git
pkgdesc = EditorConfig core library written in C (for use by plugins supporting EditorConfig parsing)
pkgver = 0.12.1.r16.g6f3c40d
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/editorconfig/editorconfig-core-c
arch = i686
arch = x86_64
license = BSD
makedepends = git
makedepends = cmake>=2.8.7
+ depends = glibc
depends = pcre
provides = editorconfig-core-c
conflicts = editorconfig-core-c
diff --git a/PKGBUILD b/PKGBUILD
index c5753f5c41a..eb7d4d53898 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,12 +2,12 @@
pkgname=editorconfig-core-c-git
pkgver=0.12.1.r16.g6f3c40d
-pkgrel=1
+pkgrel=2
pkgdesc="EditorConfig core library written in C (for use by plugins supporting EditorConfig parsing)"
arch=('i686' 'x86_64')
url="https://github.com/editorconfig/editorconfig-core-c"
license=('BSD')
-depends=('pcre')
+depends=('glibc' 'pcre')
makedepends=('git' 'cmake>=2.8.7')
provides=('editorconfig-core-c')
conflicts=('editorconfig-core-c')
@@ -18,7 +18,7 @@ sha256sums=('SKIP')
prepare() {
cd "editorconfig-core-c"
- mkdir -p "build"
+ mkdir -p "_build"
}
pkgver() {
@@ -28,14 +28,14 @@ pkgver() {
}
build() {
- cd "editorconfig-core-c/build"
+ cd "editorconfig-core-c/_build"
- cmake -DCMAKE_INSTALL_PREFIX="/usr" -DCMAKE_INSTALL_LIBDIR="lib" -DINSTALL_HTML_DOC=ON ../
+ cmake -DCMAKE_INSTALL_PREFIX="/usr" -DCMAKE_INSTALL_LIBDIR="lib" -DCMAKE_BUILD_TYPE=Release -DINSTALL_HTML_DOC=ON ../
make
}
package() {
- cd "editorconfig-core-c/build"
+ cd "editorconfig-core-c/_build"
make DESTDIR="$pkgdir" install
install -Dm644 "../LICENSE" "$pkgdir/usr/share/licenses/editorconfig-core-c/LICENSE"