diff options
-rw-r--r-- | community/editorconfig/APKBUILD | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/community/editorconfig/APKBUILD b/community/editorconfig/APKBUILD index 4a87e1819d..ed53ca5094 100644 --- a/community/editorconfig/APKBUILD +++ b/community/editorconfig/APKBUILD @@ -7,8 +7,7 @@ pkgrel=0 pkgdesc="EditorConfig core library written in C (for use by plugins supporting EditorConfig parsing)" url="https://github.com/editorconfig/editorconfig-core-c" arch="all" -license="BSD" # "Simplified" http://opensource.org/licenses/BSD-2-Clause -depends="" +license="BSD-2-Clause" makedepends="cmake doxygen pcre-dev" subpackages="$pkgname-dev $pkgname-doc" source="$pkgname-$pkgver.tar.gz::https://github.com/editorconfig/$_pkgname/archive/v$pkgver.tar.gz" @@ -21,19 +20,18 @@ build() { -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ - -DINI_ALLOW_MULTILINE=1 \ - || return 1 - make || return 1 + -DINI_ALLOW_MULTILINE=1 + make } package() { cd "$builddir" - make DESTDIR="$pkgdir" install || return 1 + make install DESTDIR="$pkgdir" # Remove symlink to editorconfig-$pkgver. - rm -f "$pkgdir/usr/bin/$pkgname" || return 1 - mv -f "$pkgdir/usr/bin/$pkgname-$pkgver" "$pkgdir/usr/bin/$pkgname" || return 1 + rm -f "$pkgdir/usr/bin/$pkgname" + mv -f "$pkgdir/usr/bin/$pkgname-$pkgver" "$pkgdir/usr/bin/$pkgname" } sha512sums="6ab3e4f7f95c83c0781064ca15bb70394bb947f9d4cd1348224f02e25c65021d14439b913775d7cfafb93476158799c34438fa548adf3c7ec6dbfd6f1052a046 editorconfig-0.12.2.tar.gz" |