diff options
author | crabvk | 2023-05-03 16:09:12 +0500 |
---|---|---|
committer | crabvk | 2023-05-03 16:09:12 +0500 |
commit | d7c445195ee9fc432aa76f1a731612c8cb5e3aff (patch) | |
tree | f7269d90dd98abfc59cc7c3f485bd598e6937e6b /PKGBUILD | |
parent | 32184f229162becf644b4d26e14ec5736755370f (diff) | |
download | aur-d7c445195ee9fc432aa76f1a731612c8cb5e3aff.tar.gz |
Add aarch64, fix indentation
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 26 |
1 files changed, 13 insertions, 13 deletions
@@ -1,32 +1,32 @@ -# Maintainer: Vyacheslav Konovalov <vyachkonovalov@protonmail.com> +# Maintainer: Vyacheslav Konovalov <🦀vk@protonmail.com> pkgname=go-sendxmpp-git -pkgver=r86.cbac6db +pkgver=0.5.6.r45.g58cb70c pkgrel=1 pkgdesc='A little tool to send messages to an XMPP contact or MUC' url='https://salsa.debian.org/mdosch/go-sendxmpp' makedepends=('git' 'go') -arch=('x86_64') +arch=('x86_64' 'aarch64') license=('BSD-2-clause') source=('git+https://salsa.debian.org/mdosch-guest/go-sendxmpp.git') sha256sums=('SKIP') pkgver() { - cd go-sendxmpp - printf 'r%s.%s' "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" + cd go-sendxmpp + git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' } build() { - cd go-sendxmpp - go build + cd go-sendxmpp + go build } package() { - cd go-sendxmpp + cd go-sendxmpp - for i in 1 5; do - install -Dm644 man/go-sendxmpp.$i -t "${pkgdir}/usr/share/man/man$i" - done - install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/go-sendxmpp" - install -Dm755 go-sendxmpp -t "$pkgdir/usr/bin" + for i in 1 5; do + install -Dm644 man/go-sendxmpp.$i -t "${pkgdir}/usr/share/man/man$i" + done + install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/go-sendxmpp" + install -Dm755 go-sendxmpp -t "$pkgdir/usr/bin" } |