Added a Manjaro/Arch-style PKGBUILD for a VCS package (zoitechat-git) under packaging/manjaro/PKGBUILD, including package metadata, runtime/build deps, pkgver() generation from git history, and build()/package() functions using Meson (arch-meson, meson compile, meson install).
Added a new GitHub Actions workflow .github/workflows/manjaro-package-build.yml that:
runs in a manjarolinux/base container,
installs Manjaro packaging/build tooling,
builds via makepkg as a non-root user,
generates .SRCINFO,
runs namcap checks on both PKGBUILD and the built package,
uploads package artifacts plus PKGBUILD/.SRCINFO.
2026-02-23 09:35:36 -07:00
|
|
|
# Maintainer: ZoiteChat Maintainers <zoitechat@users.noreply.github.com>
|
|
|
|
|
|
|
|
|
|
pkgname=zoitechat-git
|
|
|
|
|
pkgver=0
|
|
|
|
|
pkgrel=1
|
|
|
|
|
pkgdesc='IRC client for GNOME (ZoiteChat development snapshot)'
|
|
|
|
|
arch=('x86_64')
|
|
|
|
|
url='https://github.com/zoitechat/zoitechat'
|
|
|
|
|
license=('GPL-2.0-or-later')
|
|
|
|
|
depends=(
|
|
|
|
|
'dbus-glib'
|
|
|
|
|
'glib2'
|
|
|
|
|
'gtk3'
|
|
|
|
|
'iso-codes'
|
|
|
|
|
'libcanberra'
|
|
|
|
|
'lua'
|
|
|
|
|
'openssl'
|
|
|
|
|
'perl'
|
|
|
|
|
'python-cffi'
|
|
|
|
|
)
|
|
|
|
|
makedepends=(
|
|
|
|
|
'git'
|
|
|
|
|
'meson'
|
|
|
|
|
'ninja'
|
|
|
|
|
'pkgconf'
|
|
|
|
|
'python'
|
|
|
|
|
)
|
|
|
|
|
optdepends=(
|
|
|
|
|
'libayatana-appindicator: Ayatana/AppIndicator tray backend'
|
|
|
|
|
'pciutils: sysinfo plugin hardware detection details'
|
|
|
|
|
)
|
|
|
|
|
provides=('zoitechat')
|
|
|
|
|
conflicts=('zoitechat')
|
|
|
|
|
|
|
|
|
|
_repo_root="$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd)"
|
|
|
|
|
source=("zoitechat::git+file://${_repo_root}")
|
|
|
|
|
sha256sums=('SKIP')
|
|
|
|
|
|
|
|
|
|
pkgver() {
|
|
|
|
|
cd "$srcdir/zoitechat"
|
|
|
|
|
|
|
|
|
|
if git describe --long --tags --abbrev=7 >/dev/null 2>&1; then
|
|
|
|
|
git describe --long --tags --abbrev=7 \
|
|
|
|
|
| sed 's/^v//' \
|
2026-02-23 09:54:11 -07:00
|
|
|
| sed -E 's/([^-]+)-([0-9]+)-g/\1.r\2.g/' \
|
|
|
|
|
| sed 's/-/./g'
|
Added a Manjaro/Arch-style PKGBUILD for a VCS package (zoitechat-git) under packaging/manjaro/PKGBUILD, including package metadata, runtime/build deps, pkgver() generation from git history, and build()/package() functions using Meson (arch-meson, meson compile, meson install).
Added a new GitHub Actions workflow .github/workflows/manjaro-package-build.yml that:
runs in a manjarolinux/base container,
installs Manjaro packaging/build tooling,
builds via makepkg as a non-root user,
generates .SRCINFO,
runs namcap checks on both PKGBUILD and the built package,
uploads package artifacts plus PKGBUILD/.SRCINFO.
2026-02-23 09:35:36 -07:00
|
|
|
else
|
|
|
|
|
printf '0.r%s.%s\n' \
|
|
|
|
|
"$(git rev-list --count HEAD)" \
|
|
|
|
|
"$(git rev-parse --short=7 HEAD)"
|
|
|
|
|
fi
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
build() {
|
|
|
|
|
arch-meson zoitechat build \
|
|
|
|
|
-Dtext-frontend=false \
|
2026-02-23 11:50:54 -07:00
|
|
|
-Dwith-checksum=true \
|
|
|
|
|
-Dwith-fishlim=true \
|
|
|
|
|
-Dwith-lua=lua \
|
|
|
|
|
-Dwith-perl=perl \
|
|
|
|
|
-Dwith-python=python3 \
|
|
|
|
|
-Dwith-sysinfo=true \
|
Added a Manjaro/Arch-style PKGBUILD for a VCS package (zoitechat-git) under packaging/manjaro/PKGBUILD, including package metadata, runtime/build deps, pkgver() generation from git history, and build()/package() functions using Meson (arch-meson, meson compile, meson install).
Added a new GitHub Actions workflow .github/workflows/manjaro-package-build.yml that:
runs in a manjarolinux/base container,
installs Manjaro packaging/build tooling,
builds via makepkg as a non-root user,
generates .SRCINFO,
runs namcap checks on both PKGBUILD and the built package,
uploads package artifacts plus PKGBUILD/.SRCINFO.
2026-02-23 09:35:36 -07:00
|
|
|
-Dinstall-plugin-metainfo=true
|
|
|
|
|
|
|
|
|
|
meson compile -C build
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
package() {
|
|
|
|
|
meson install -C build --destdir "$pkgdir"
|
|
|
|
|
}
|