diff --git a/srcpkgs/ledger/patches/boost-1.68.patch b/srcpkgs/ledger/patches/boost-1.68.patch deleted file mode 100644 index 9fb7c2a45e6..00000000000 --- a/srcpkgs/ledger/patches/boost-1.68.patch +++ /dev/null @@ -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 -+#include - - /** - * @name Default values diff --git a/srcpkgs/ledger/patches/cmake_wtf.patch b/srcpkgs/ledger/patches/cmake_wtf.patch index 71c492e75eb..2b71e0bd640 100644 --- a/srcpkgs/ledger/patches/cmake_wtf.patch +++ b/srcpkgs/ledger/patches/cmake_wtf.patch @@ -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) diff --git a/srcpkgs/ledger/patches/gcc6.patch b/srcpkgs/ledger/patches/gcc6.patch deleted file mode 100644 index f076f8231d1..00000000000 --- a/srcpkgs/ledger/patches/gcc6.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- src/item.h.orig -+++ src/item.h -@@ -92,7 +92,7 @@ class item_t : public supports_flags, public scope_t - - typedef std::pair, bool> tag_data_t; - typedef std::map > string_map; -+ std::function > string_map; - - state_t _state; - optional _date; diff --git a/srcpkgs/ledger/template b/srcpkgs/ledger/template index 9b9e51d3dd0..f1ed0791795 100644 --- a/srcpkgs/ledger/template +++ b/srcpkgs/ledger/template @@ -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 " 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 " 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 }