diff --git a/packaging/PKGBUILD b/packaging/PKGBUILD index 3d31a32..a1f9d0d 100644 --- a/packaging/PKGBUILD +++ b/packaging/PKGBUILD @@ -3,12 +3,11 @@ # Reference PKGBUILD, kept in-tree as the source of truth; the AUR # copy lives in aur.archlinux.org/ttymap.git. # -# NOT PUBLISHABLE AS-IS: `make install-system` landed after v0.3.0, -# so this needs a newer tag. Bump pkgver and refresh sha256sums -# (`updpkgsums`) against that release before pushing to the AUR. +# On each release: bump pkgver, refresh sha256sums (`updpkgsums`), +# then push to the AUR repo. pkgname=ttymap -pkgver=0.3.0 +pkgver=0.3.1 pkgrel=1 pkgdesc='Scriptable globe for the terminal — Mapbox Vector Tiles rendered as Unicode Braille' arch=('x86_64' 'aarch64') @@ -16,8 +15,13 @@ url='https://github.com/Kohei-Wada/ttymap' license=('MIT' 'Apache-2.0') depends=('gcc-libs' 'openssl') makedepends=('cargo') +# mlua compiles Lua 5.4 from vendored C sources. Under makepkg's +# default `lto` option that C code is built with -flto=auto, so the +# static lib carries GCC LTO IR that rust-lld cannot read and every +# lua_* symbol comes back undefined at link time. +options=('!lto') source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz") -sha256sums=('ef3fe9d046014fa30c26aa1eb052d1ec5ac11c6580ec362c448d64c52015780b') +sha256sums=('54bd19b1f49bceee29967ab5802c5f38b5160c3acb3c83cf47932b3571b218b7') prepare() { cd "$pkgname-$pkgver"