George Hu pushed to branch main at Arch Linux / Packaging / Packages / libhx
Commits:
134dbc50 by George Hu at 2026-01-29T17:19:53+08:00
Replace git source with tarball
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -6,9 +6,8 @@ pkgbase = libhx
arch = x86_64
license = GPL-3.0-only
license = LGPL-3.0-only
- makedepends = git
depends = glibc
- source = git+https://codeberg.org/jengelh/libhx#tag=v5.0
- sha256sums =
4605b2ad0b20af9584837a27fe7c6dc01d0c6e59ea35fc00ac82f439e85363ef
+ source = https://inai.de/files/libhx/libHX-5.0.tar.zst
+ sha256sums =
ea87ca8f547ea39f9cfee7cd1ba4bd31639ebb12d02fa84dfc56c040afe0244f
pkgname = libhx
=====================================
PKGBUILD
=====================================
@@ -4,6 +4,7 @@
# Contributor: Nathan Owe <ndowens.aur at gmail dot com>
pkgname=libhx
+_srcname=libHX
pkgver=5.0
pkgrel=1
pkgdesc='A library providing queue, tree, I/O and utility functions'
@@ -12,26 +13,25 @@ url="https://inai.de/projects/${pkgname}/"
license=(GPL-3.0-only
LGPL-3.0-only)
depends=(glibc)
-makedepends=(git)
-source=(git+https://codeberg.org/jengelh/libhx#tag=v$pkgver)
-sha256sums=('4605b2ad0b20af9584837a27fe7c6dc01d0c6e59ea35fc00ac82f439e85363ef')
+source=("https://inai.de/files/${pkgname}/${_srcname}-${pkgver}.tar.zst")
+sha256sums=('ea87ca8f547ea39f9cfee7cd1ba4bd31639ebb12d02fa84dfc56c040afe0244f')
prepare() {
- cd libhx
+ cd "${_srcname}-${pkgver}/"
autoreconf -vi
}
build() {
- cd libhx
+ cd "${_srcname}-${pkgver}/"
./configure --prefix=/usr
make
}
check() {
- make -C libhx check
+ make -C "${_srcname}-${pkgver}" check
}
package() {
- cd libhx
+ cd "${_srcname}-${pkgver}/"
make DESTDIR="$pkgdir" install
}
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/libhx/-/commit/134dbc501ab5ad97a1bb18cc2ebb1449c0a68f4a
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/libhx/-/commit/134dbc501ab5ad97a1bb18cc2ebb1449c0a68f4a
You're receiving this email because of your account on gitlab.archlinux.org.