Dhruvin Gandhi: 3 testing/hledger: new aport testing/hledger-ui: new aport testing/hledger-web: new aport 3 files changed, 107 insertions(+), 0 deletions(-)
Kevin Daudt <kdaudt@alpinelinux.org> replied via email: ``` Sorry, I see just now that you did use that, it just does not get marked as such in the merge requests. On Mon, Dec 13, 2021 at 12:36 PM Kevin Daudt <no-reply@dispatch.alpinelinux.org> wrote:
Sorry, I see just now that you did use that, it just does not get marked as such in the merge requests. On Mon, Dec 13, 2021 at 12:36 PM Kevin Daudt <no-reply@dispatch.alpinelinux.org> wrote:
Copy & paste the following snippet into your terminal to import this patchset into git:
curl -s https://lists.alpinelinux.org/~alpine/aports/patches/3804/mbox | git am -3Learn more about email & git
--- testing/hledger/APKBUILD | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 testing/hledger/APKBUILD diff --git a/testing/hledger/APKBUILD b/testing/hledger/APKBUILD new file mode 100644 index 0000000000..4b88c431a2 --- /dev/null +++ b/testing/hledger/APKBUILD @@ -0,0 +1,37 @@ +# Contributor: Dhruvin Gandhi <contact@dhruvin.dev> +# Maintainer: Dhruvin Gandhi <contact@dhruvin.dev> +pkgname=hledger +pkgver=1.24.1 +pkgrel=0 +pkgdesc="Command-line interface for the hledger accounting system" +url="https://hledger.org/hledger.html" +arch="x86_64" # limited by ghc +license="GPL-3.0-only" +makedepends="ghc cabal libffi-dev ncurses-dev" +subpackages="$pkgname-doc $pkgname-bash-completion" +source="https://hackage.haskell.org/package/hledger-$pkgver/hledger-$pkgver.tar.gz" + +export CABAL_DIR="$srcdir"/cabal + +build() { + cabal update + cabal build --prefix=/usr --enable-relocatable +} + +check() { + cabal test +} + +package() { + local ghcver=$(ghc --version | cut -d " " -f 8) + install -Dm755 \ + "dist-newstyle/build/$arch-linux/ghc-$ghcver/$pkgname-$pkgver/x/$pkgname/build/$pkgname/$pkgname" \ + "$pkgdir"/usr/bin/$pkgname + install -Dm644 $pkgname.1 "$pkgdir"/usr/share/man/man1/$pkgname.1 + install -Dm644 shell-completion/$pkgname-completion.bash \ + "$pkgdir"/usr/share/bash-completion/completions/$pkgname +} + +sha512sums=" +0941258f7c6f699967261eaf9e20c1f81f6694b8f559ac1e729f37cff64dce3b787447f69c222115437318e8ccd6c4273e52befa41b3419f8fb4cc131c7fcdf7 hledger-1.24.1.tar.gz +" -- 2.34.1
Kevin Daudt <no-reply@dispatch.alpinelinux.org>It would be nice if you could use the `--reroll-count` option to format-patch in the future for new revisions, now it's more difficult to distinguish what's the latest version -- via https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/28415#note_198193
Dhruvin Gandhi <no-reply@dispatch.alpinelinux.org>Superseded by !28448 -- via https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/28415#note_198392
--- testing/hledger-ui/APKBUILD | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 testing/hledger-ui/APKBUILD diff --git a/testing/hledger-ui/APKBUILD b/testing/hledger-ui/APKBUILD new file mode 100644 index 0000000000..1930eed76b --- /dev/null +++ b/testing/hledger-ui/APKBUILD @@ -0,0 +1,35 @@ +# Contributor: Dhruvin Gandhi <contact@dhruvin.dev> +# Maintainer: Dhruvin Gandhi <contact@dhruvin.dev> +pkgname=hledger-ui +pkgver=1.24.1 +pkgrel=0 +pkgdesc="Curses-style terminal interface for the hledger accounting system" +url="https://hledger.org/hledger-ui.html" +arch="x86_64" # limited by ghc +license="GPL-3.0-only" +makedepends="ghc cabal libffi-dev ncurses-dev" +subpackages="$pkgname-doc" +source="https://hackage.haskell.org/package/hledger-ui-$pkgver/hledger-ui-$pkgver.tar.gz" + +export CABAL_DIR="$srcdir"/cabal + +build() { + cabal update + cabal build --prefix=/usr --enable-relocatable +} + +check() { + cabal test +} + +package() { + local ghcver=$(ghc --version | cut -d " " -f 8) + install -Dm755 \ + "dist-newstyle/build/$arch-linux/ghc-$ghcver/$pkgname-$pkgver/x/$pkgname/build/$pkgname/$pkgname" \ + "$pkgdir"/usr/bin/$pkgname + install -Dm644 $pkgname.1 "$pkgdir"/usr/share/man/man1/$pkgname.1 +} + +sha512sums=" +9a71ba18c76a477a12df34adb4d1d11e5a72769b14e27950ff675107faf210dbe9ee18d4e6bf13151789f73591e72b62fb7f3ea581a2ddff6457814d9220f4d4 hledger-ui-1.24.1.tar.gz +" -- 2.34.1
--- testing/hledger-web/APKBUILD | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 testing/hledger-web/APKBUILD diff --git a/testing/hledger-web/APKBUILD b/testing/hledger-web/APKBUILD new file mode 100644 index 0000000000..e3b5252b92 --- /dev/null +++ b/testing/hledger-web/APKBUILD @@ -0,0 +1,35 @@ +# Contributor: Dhruvin Gandhi <contact@dhruvin.dev> +# Maintainer: Dhruvin Gandhi <contact@dhruvin.dev> +pkgname=hledger-web +pkgver=1.24.1 +pkgrel=0 +pkgdesc="Web interface for the hledger accounting system" +url="https://hledger.org/hledger-web.html" +arch="x86_64" # limited by ghc +license="GPL-3.0-only" +makedepends="ghc cabal libffi-dev ncurses-dev zlib-dev" +subpackages="$pkgname-doc" +source="https://hackage.haskell.org/package/hledger-web-$pkgver/hledger-web-$pkgver.tar.gz" + +export CABAL_DIR="$srcdir"/cabal + +build() { + cabal update + cabal build --prefix=/usr --enable-relocatable +} + +check() { + cabal test +} + +package() { + local ghcver=$(ghc --version | cut -d " " -f 8) + install -Dm755 \ + "dist-newstyle/build/$arch-linux/ghc-$ghcver/$pkgname-$pkgver/x/$pkgname/build/$pkgname/$pkgname" \ + "$pkgdir"/usr/bin/$pkgname + install -Dm644 $pkgname.1 "$pkgdir"/usr/share/man/man1/$pkgname.1 +} + +sha512sums=" +49e6292faad4a1311d1af950a98a546e6ec61f5dfa97539e62a806e63bbd43351861ab4c45f8eb7284e98367fb92e206a217e998c6572ca8b2f37e91bb93daaf hledger-web-1.24.1.tar.gz +" -- 2.34.1