This PKGBUILD works for me with @0x9fff00 hint
# Maintainer: Caleb Maclennan <caleb@alerque.com>
# Maintainer: Simon Legner <Simon.Legner@gmail.com>
pkgname=aur-out-of-date
pkgver=3.2.0
pkgrel=2
pkgdesc="Determines out-of-date AUR packages"
arch=('x86_64' 'i686')
url="https://github.com/simon04/aur-out-of-date"
license=('GPL-3.0-only')
source=("$pkgname-$pkgver.tar.gz::https://github.com/simon04/$pkgname/archive/v$pkgver.tar.gz")
sha256sums=('d4d3f95cfcf3e9de0357ccb5c99524bb0f3b508cdcf5a42baa058305e0a8f4a8')
makedepends=('go')
prepare() {
cd "$srcdir/$pkgname-$pkgver"
go mod download
}
check() {
cd "$srcdir/$pkgname-$pkgver"
go test $(go list ./...)
}
build() {
cd "$srcdir/$pkgname-$pkgver"
go build \
-gcflags "all=-trimpath=${PWD}" \
-asmflags "all=-trimpath=${PWD}" \
-ldflags "-extldflags \"${LDFLAGS}"\"
}
package() {
cd "$srcdir/$pkgname-$pkgver"
install -Dm755 "$pkgname" "$pkgdir/usr/bin/aur-out-of-date"
}
Pinned Comments
alerque commented on 2024-02-27 08:23 (UTC)
Just a heads up to anyone checking this out: while this nice little tool does still work, Arch Linux as a distro is in the process of adopting nvchecker support. This includes already having support in official package tools (e.g.
pkgctl version check
), upcoming support in archweb for automatically flagging all repository packages as OOD, and eventually the same tooling will be standardized for AUR packages too. Whether it will be optional or required for user contributed packages is yet to be decided of course, but folks should be aware that things are headed that direction.simon04 commented on 2021-11-22 19:01 (UTC)
⚠️ Leaving Arch Linux in November 2021 – I'll keep maintaining the project, but don't expect new features unless you are submitting a patch.