upgpkg: ghostmirror-1:0.18.5-1: initial upload

This commit is contained in:
Christian Schendel 2026-01-11 17:13:20 +01:00
commit 214fb6ab6c
Signed by: doppelhelix
GPG key ID: 5874D2437CD5BBB3
6 changed files with 103 additions and 0 deletions

47
PKGBUILD Normal file
View file

@ -0,0 +1,47 @@
# Maintainer: Christian Schendel <doppelhelix@gmail.com>
# Contributor: Vbextreme <@>
pkgname=ghostmirror
pkgver=0.18.5
epoch=1
pkgrel=1
pkgdesc="modern alternative to reflector, true check mirror status, mirror download speed and more."
url="https://github.com/vbextreme/ghostmirror"
arch=('x86_64')
license=(
GPL-3.0-or-later
)
depends=(
curl
elfutils
systemd-libs
zlib-ng
)
makedepends=(
git
meson
ninja
perl
)
source=(
"${pkgname}-${pkgver}.tar.gz"::"${url}/archive/refs/tags/v${pkgver}.tar.gz"
)
b2sums=('06989132ac29046132519743aed801f7b97b0adcbc59287be3344d5a682f9b0ebd36d2b62a67db53c9676385e187510e1e8b3df8fe451b04a095240a8fb36e0b')
prepare() {
cd "${pkgname}-${pkgver}"
meson subprojects update
meson setup build -Dprefix=/usr --buildtype=plain
}
build() {
cd "${pkgname}-${pkgver}/build"
ninja
}
package() {
cd "${pkgname}-${pkgver}/build"
DESTDIR="$pkgdir" ninja install
}
# vim: set ts=4 sw=4 et: