summaryrefslogtreecommitdiff
path: root/pcr/ledger-git
diff options
context:
space:
mode:
authorDavid P <megver83@parabola.nu>2020-07-06 18:40:24 -0400
committerDavid P <megver83@parabola.nu>2020-07-06 18:40:24 -0400
commitfb1caeae29aa6a3067b28bd91046ea778803f219 (patch)
tree02df3e9c5413998193d4e7ff04ca3403aba2548d /pcr/ledger-git
parent108f909f91bd16824def4a5db20710fb881bf8de (diff)
downloadabslibre-fb1caeae29aa6a3067b28bd91046ea778803f219.tar.gz
abslibre-fb1caeae29aa6a3067b28bd91046ea778803f219.tar.bz2
abslibre-fb1caeae29aa6a3067b28bd91046ea778803f219.zip
remove pcr/ledger-git
the non-git version is more up-to-date, it seems there's no interest in this pkg Signed-off-by: David P <megver83@parabola.nu>
Diffstat (limited to 'pcr/ledger-git')
-rw-r--r--pcr/ledger-git/PKGBUILD50
-rw-r--r--pcr/ledger-git/ledger.install20
2 files changed, 0 insertions, 70 deletions
diff --git a/pcr/ledger-git/PKGBUILD b/pcr/ledger-git/PKGBUILD
deleted file mode 100644
index 2ff48ab2f..000000000
--- a/pcr/ledger-git/PKGBUILD
+++ /dev/null
@@ -1,50 +0,0 @@
-# Maintainer (AUR): Ivan Zenin <i.zenin@gmx.com>
-# Maintainer (AUR): Johann Klahn <kljohann@gmail.com>
-# Contributor (AUR): Nathan Jones <nathanj@insightbb.com>
-# Maintainer: Luke R. <g4jc@openmailbox.org> GPG: rsa4096/3EAE8697
-
-# parabola changes and rationale:
-# - fixed license
-
-pkgname=ledger-git
-pkgver=3.1.r709.ge12b8d0f
-pkgrel=1
-pkgdesc="A double-entry accounting system with a command-line reporting interface (development version)"
-arch=('i686' 'x86_64' 'armv7h')
-url="http://ledger-cli.org"
-license=('BSD3')
-depends=('mpfr' 'boost-libs' 'libedit')
-provides=('ledger')
-conflicts=('ledger')
-makedepends=('boost' 'git' 'sed' 'python2' 'cmake' 'texinfo' 'texlive-plainextra')
-source=("git+git://github.com/ledger/ledger.git")
-sha256sums=('SKIP')
-
-pkgver() {
- cd "${srcdir}"/ledger
- ( set -o pipefail
- git describe --long 2>/dev/null | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' ||
- printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
- )
-}
-
-prepare() {
- cd "${srcdir}"/ledger
- find -iname '*.py' -execdir sed -i 's|^#!.*python$|#!/usr/bin/python2|' '{}' \;
- sed -i 's|^#!.*python$|#!/usr/bin/python2|' ./acprep
-}
-
-build() {
- cd "${srcdir}"/ledger
- cmake . \
- -DCMAKE_INSTALL_PREFIX:PATH=/usr \
- -DCMAKE_INSTALL_LIBDIR:PATH=lib
- make
-}
-
-package () {
- cd "${srcdir}"/ledger
- make DESTDIR="${pkgdir}" install
- rm -fr "${pkgdir}"/usr/include/ledger
- install -Dm644 LICENSE.md "${pkgdir}/usr/share/licenses/ledger/LICENSE"
-}
diff --git a/pcr/ledger-git/ledger.install b/pcr/ledger-git/ledger.install
deleted file mode 100644
index 2e9cc88ce..000000000
--- a/pcr/ledger-git/ledger.install
+++ /dev/null
@@ -1,20 +0,0 @@
-infodir=/usr/share/info
-infofiles=(ledger3.info.gz ledger-mode.info.gz)
-
-post_install() {
- [ -x usr/bin/install-info ] || return 0
- for file in ${infofiles[@]}; do
- install-info $infodir/$file $infodir/dir 2> /dev/null
- done
-}
-
-post_upgrade() {
- post_install $1
-}
-
-pre_remove() {
- [ -x usr/bin/install-info ] || return 0
- for file in ${infofiles[@]}; do
- install-info --delete $infodir/$file $infodir/dir 2> /dev/null
- done
-}