From beee452d987a49768858cbfac05f9a8dc6b26599 Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Wed, 8 Aug 2018 12:44:55 +0200 Subject: [PATCH] bloaty: update to 1.0. --- srcpkgs/bloaty/template | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/srcpkgs/bloaty/template b/srcpkgs/bloaty/template index e8731846b34..bcd509759ed 100644 --- a/srcpkgs/bloaty/template +++ b/srcpkgs/bloaty/template @@ -1,20 +1,17 @@ # Template file for 'bloaty' pkgname=bloaty -version=0.0.20161228 -revision=2 -_githash=2234386bcee7297dfa1b6d8a5d20f95ea4ed9bb0 -wrksrc="${pkgname}-${_githash}" -makedepends="re2-devel" +version=1.0 +revision=1 +build_style=cmake +makedepends="zlib-devel" +# vendored: capstone protobuf re2 short_desc="Bloaty McBloatface: a size profiler for binaries" maintainer="Leah Neukirchen " license="Apache-2.0" homepage="https://github.com/google/bloaty" -distfiles="https://github.com/google/bloaty/archive/${_githash}.tar.gz" -checksum=ae2bff1eafb8a4c788feb035bba0b46596b17cded53419fa1ca5c1fb61402646 +distfiles="https://github.com/google/bloaty/releases/download/v${version}/bloaty-${version}.tar.bz2" +checksum=e1cf9830ba6c455218fdb50e7a8554ff256da749878acfaf77c032140d7ddde0 -do_build() { - ${CXX} ${CXXFLAGS} -include byteswap.h -I. -o bloaty src/*.cc ${LDFLAGS} -lre2 -} do_install() { - vbin bloaty + vbin build/bloaty }