aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-10-21 07:56:47 -0300
committerLeo <thinkabit.ukim@gmail.com>2019-10-21 09:51:16 -0300
commit63a26dbc5d2942fe1020a492bce09d83a5e082f1 (patch)
tree55e0067bec4b590fab09fa75f2d035465eeda7cb
parent2f480716086565a305e427b4351e6e2c3595c866 (diff)
downloadaports-63a26dbc5d2942fe1020a492bce09d83a5e082f1.tar.bz2
aports-63a26dbc5d2942fe1020a492bce09d83a5e082f1.tar.xz
community/sparse: upgrade to 0.6.1
-rw-r--r--community/sparse/APKBUILD18
1 files changed, 6 insertions, 12 deletions
diff --git a/community/sparse/APKBUILD b/community/sparse/APKBUILD
index 631de6e410..004dfd4d7c 100644
--- a/community/sparse/APKBUILD
+++ b/community/sparse/APKBUILD
@@ -1,30 +1,24 @@
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net>
pkgname=sparse
-pkgver=0.6.0
+pkgver=0.6.1
pkgrel=0
pkgdesc="A semantic parser of source files"
url="http://sparse.wiki.kernel.org/"
arch="all"
license="MIT"
depends="gcc"
-depends_dev=""
makedepends="libxml2-dev"
-install=""
subpackages="$pkgname-doc"
-source="https://www.kernel.org/pub/software/devel/$pkgname/dist/$pkgname-$pkgver.tar.xz"
+source="https://www.kernel.org/pub/software/devel/sparse/dist/sparse-$pkgver.tar.xz"
-builddir="$srcdir"/$pkgname-$pkgver
build() {
- cd "$builddir"
- make PREFIX=/usr
+ make CFLAGS="$CFLAGS" LD="${LD:-gcc}" \
+ AR="${AR:-ar}" CC="${CC:-gcc}"
}
package() {
- cd "$builddir"
- make CFLAGS="$CFLAGS" LD="${LD:-gcc}" \
- AR="${AR:-ar}" CC="${CC:-gcc}" \
- DESTDIR="$pkgdir" install
+ make PREFIX=/usr DESTDIR="$pkgdir" install
mkdir -p "$pkgdir"/usr/share/doc/$pkgname/
install -m644 FAQ README \
@@ -32,4 +26,4 @@ package() {
"$pkgdir"/usr/share/doc/$pkgname/
}
-sha512sums="5c6c88f203c941bf0efd28802ef91641c96e7d4b4688a5176d091ff0fd6a650d9147e590b631602a8bd08994a35261977569367861a6d605ccdd25e4a07debf9 sparse-0.6.0.tar.xz"
+sha512sums="2faad9b3263f19f941cd6a5891960d2c7d1066c664d3ef68e722d461785aeed2d4a9539df3556bbd98c022e7ee965b8030c49272ab6003113ba3b36f73c00187 sparse-0.6.1.tar.xz"