惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

B
Blog RSS Feed
Martin Fowler
Martin Fowler
爱范儿
爱范儿
IT之家
IT之家
Last Week in AI
Last Week in AI
A
About on SuperTechFans
Google DeepMind News
Google DeepMind News
阮一峰的网络日志
阮一峰的网络日志
V
V2EX
aimingoo的专栏
aimingoo的专栏
G
Google Developers Blog
J
Java Code Geeks
Microsoft Azure Blog
Microsoft Azure Blog
美团技术团队
The Cloudflare Blog
MyScale Blog
MyScale Blog
T
The Blog of Author Tim Ferriss
Hugging Face - Blog
Hugging Face - Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
云风的 BLOG
云风的 BLOG
Y
Y Combinator Blog
The GitHub Blog
The GitHub Blog
腾讯CDC
Microsoft Security Blog
Microsoft Security Blog

AUR Newest Packages

AUR (en) - linuxqq-clipsync-git AUR (en) - libtslitex-git AUR (en) - libtslitex-git AUR (en) - carton-appimage AUR (en) - veila-git AUR (en) - veila-bin AUR (en) - vigil-baseline AUR (en) - byedroid AUR (en) - neovim-base16-git AUR (en) - pirata AUR (en) - rpi-imager-git-non-root AUR (en) - python-fastapi-sso AUR (en) - tmux-ai-titles AUR (en) - zeed-bin AUR (en) - bclone-bin AUR (en) - dwl-git-azerty AUR (en) - auggie-bin AUR (en) - libspatialaudio-git AUR (en) - libspatialaudio AUR (en) - miniupnpd-iptables-legacy AUR (en) - miniupnpd-nft AUR (en) - jeeves-bin AUR (en) - opennow AUR (en) - rotki AUR (en) - kapi-bin AUR (en) - classfi-bin AUR (en) - classfi-git AUR (en) - classfi AUR (en) - giff-git AUR (en) - budget-tracker-bin
AUR (en) - lnd
2026-06-12 · via AUR Newest Packages

bitcoinlizard commented on 2025-12-07 13:56 (UTC)

LND is now offering (pushing?) the option to run sqlite or postgres for a database backend:

https://github.com/lightningnetwork/lnd/blob/master/docs/db_migration_guide.md

I found that with using this PKGBUILD sqlite was not recognized/functional on startup. I used the provided binary from the github page and everything worked as expected.

I don't see anything wrong with the PGKBUILD, everything seems to be in place as far as build tags:

GO111MODULE=on go install -v -tags experimental,autopilotrpc,signrpc,walletrpc,chainrpc,invoicesrpc,routerrpc,watchtowerrpc,monitoring,peersrpc,kvdb_postgres,kvdb_sqlite,kvdb_etcd ./...

I'm mostly posting this for others who may run into the same issue.

leon_buehler commented on 2025-05-02 15:28 (UTC)

I just noticed that the .service file in the lnd repo assumes that the binarys are stored in /usr/local/bin but on arch they are in /usr/bin . Idk if that is worth fixing, so iam just mentioning it here. I personally just symlink the lnd binary into /usr/local/bin.

pizzaman commented on 2025-05-01 01:26 (UTC)

@leon_buehler Thanks. Added bash completion & .service

leon_buehler commented on 2025-04-30 14:05 (UTC)

The upstream repo contains bash completions and a systemd service file inside of the "contrib" directory. I think those could be included into the PKGBUILD so it would look like:

package() {
  cd "$pkgname-$_pkgver"
  for _bin in lnd lncli; do
   install -Dm755 build/$_bin -t "${pkgdir:?}/usr/bin";
  done
  install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
  install -Dm644 contrib/lncli.bash-completion "$pkgdir/usr/share/bash-completion/completions/lncli"
  install -Dm644 contrib/init/lnd.service "$pkgdir/usr/lib/systemd/system/lnd.service"
}

dmp1ce commented on 2022-09-30 10:59 (UTC)

@ruifm, I made your suggested changes. Let me know if it works for you.

ruifm commented on 2022-09-30 09:41 (UTC)

Could you add 'aarch64' to arch=? I can confirm that it works.

Also, you should replace source_x86_64 by source and sha512sums_x86_64 by sha512sums as the actual source is just source code files and are architecture agnostic.

bitcoinlizard commented on 2021-10-15 00:24 (UTC)

Could you edit the make && make install line to look like this?

make && make install tags="experimental autopilotrpc signrpc walletrpc chainrpc invoicesrpc routerrpc watchtowerrpc"

The build tags are not well documented by some are needed for keysend to work.

dmp1ce commented on 2021-10-14 23:57 (UTC)

@Spixmaster, Is that right? line 43 sets $GOPATH to "$srcdir".

build() {
  export GOPATH="$srcdir/GOPATH"
  _fake_gopath_pushd "$pkgname" github.com/lightningnetwork/lnd
  make && make install
  _fake_gopath_popd
}

Are you seeing errors when trying to build or the script just looks wrong?

Spixmaster commented on 2021-10-14 12:38 (UTC) (edited on 2021-10-14 12:39 (UTC) by Spixmaster)

# create a fake go path directory and pushd into it
# $1 real directory
# $2 gopath directory
_fake_gopath_pushd() {
    mkdir -p "$GOPATH/src/${2%/*}"
    rm -f "$GOPATH/src/$2"
    ln -rsT "$1" "$GOPATH/src/$2"
    pushd "$GOPATH/src/$2" >/dev/null || exit
}

There are several lines that do not work because packages only have the permissions to access files in "${pkgdir}". You need to use as a prefix. Especially, the lines above create issues.