ledger: update to 3.1.2.

This commit is contained in:
Daniel Santana 2019-02-11 22:46:22 -02:00 committed by maxice8
parent 3d87f132e8
commit b5a122a1c3
4 changed files with 9 additions and 33 deletions

View file

@ -1,11 +0,0 @@
--- src/utils.h 2016-01-11 16:59:38.000000000 +0100
+++ - 2018-10-01 19:53:37.981217940 +0200
@@ -44,7 +44,7 @@
#ifndef _UTILS_H
#define _UTILS_H
-#include <boost/uuid/sha1.hpp>
+#include <boost/uuid/detail/sha1.hpp>
/**
* @name Default values

View file

@ -1,6 +1,6 @@
--- cmake/FindUtfcpp.cmake.old 2016-01-13 19:14:05.737426666 +0100
+++ cmake/FindUtfcpp.cmake 2016-01-13 19:13:28.952877141 +0100
@@ -1,22 +1,8 @@
@@ -1,23 +1,8 @@
-# - Try to find utfcpp
-# Once done, this will define
-#
@ -13,7 +13,8 @@
-
-find_path(UTFCPP_INCLUDE_DIR
- NAMES utf8.h
- HINTS "${UTFCPP_PATH}" "${PROJECT_SOURCE_DIR}/lib/utfcpp/v2_0/source"
- HINTS "${UTFCPP_PATH}"
- PATHS "${PROJECT_SOURCE_DIR}/lib/utfcpp/v2_0/source"
-)
-
-if (UTFCPP_INCLUDE_DIR)

View file

@ -1,11 +0,0 @@
--- src/item.h.orig
+++ src/item.h
@@ -92,7 +92,7 @@ class item_t : public supports_flags<uint_least16_t>, public scope_t
typedef std::pair<optional<value_t>, bool> tag_data_t;
typedef std::map<string, tag_data_t,
- function<bool(string, string)> > string_map;
+ std::function<bool(string, string)> > string_map;
state_t _state;
optional<date_t> _date;

View file

@ -1,15 +1,15 @@
# Template file for 'ledger'
pkgname=ledger
version=3.1.1
revision=10
version=3.1.2
revision=1
build_style=cmake
maintainer="Daniel Santana <daniel@santana.tech>"
makedepends="boost-devel gmp-devel mpfr-devel gettext-devel libedit-devel"
short_desc="Double-entry accounting system with a command-line reporting interface"
maintainer="Daniel Santana <daniel@santana.tech>"
license="BSD-3-Clause"
homepage="http://www.ledger-cli.org/"
short_desc="A powerful, double-entry accounting system that is accessed from the UNIX command-line"
distfiles="https://github.com/ledger/${pkgname}/archive/v${version}.tar.gz"
checksum="90f06561ab692b192d46d67bc106158da9c6c6813cc3848b503243a9dfd8548a"
distfiles="https://github.com/ledger/${pkgname}/archive/${version}.tar.gz"
checksum=3ecebe00e8135246e5437e4364bb7a38869fad7c3250b849cf8c18ca2628182e
post_install() {
rm -Rf ${DESTDIR}/usr/local
@ -17,9 +17,6 @@ post_install() {
mv ${DESTDIR}/usr/lib64 ${DESTDIR}/usr/lib
fi
mkdir -p ${DESTDIR}/usr/share/emacs/
mv lisp ${DESTDIR}/usr/share/emacs/site-lisp
rm -f ${DESTDIR}/usr/share/emacs/site-lisp/CMakeLists.txt
vlicense LICENSE.md
}