diff options
author | Sanel Zukan <sanelz@gmail.com> | 2021-01-13 18:02:35 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-01-17 08:44:59 +0700 |
commit | d612ae0eba005c85cbea49a50c834fc7a2d316b0 (patch) | |
tree | 2399dfab173910d983ceb825062101ceaef8e2b0 /business/ledger/ledger.SlackBuild | |
parent | 2c50c0a9ee96c76e2da3ff7228cd47c246c595cc (diff) |
Update Ledger to the latest 3.2.1 version
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'business/ledger/ledger.SlackBuild')
-rw-r--r-- | business/ledger/ledger.SlackBuild | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/business/ledger/ledger.SlackBuild b/business/ledger/ledger.SlackBuild index 04a1c1b7aa401..89b8bc095e5b1 100644 --- a/business/ledger/ledger.SlackBuild +++ b/business/ledger/ledger.SlackBuild @@ -4,7 +4,7 @@ # Updated by simotrone (simotrone at gmail dot com) PRGNAM=ledger -VERSION=${VERSION:-3.1.3} +VERSION=${VERSION:-3.2.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -36,8 +36,16 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -./acprep --prefix=/usr update -make install DESTDIR=$PKG +patch -p1 < $CWD/CMakeLists.txt.patch + +mkdir -p build +cd build + cmake \ + -DCMAKE_INSTALL_PREFIX=/usr \ + .. + make + make install DESTDIR=$PKG +cd .. find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true |