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

16
.gitignore vendored Normal file
View file

@ -0,0 +1,16 @@
# Ignore everything
*
# But not these files...
!.gitignore
!PKGBUILD
!LICENSE
!chroot-build
!.nvchecker.toml
!/keys
!/keys/pgp
!/keys/pgp/*.asc
!/LICENSES
!/LICENSES/*.txt
!REUSE.toml
!*.patch

4
.nvchecker.toml Normal file
View file

@ -0,0 +1,4 @@
[ghostmirror]
source = "git"
git = "https://github.com/vbextreme/ghostmirror.git"
prefix = "v"

12
LICENSE Normal file
View file

@ -0,0 +1,12 @@
Copyright Arch Linux Contributors
Permission to use, copy, modify, and/or distribute this software for
any purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED “AS IS” AND THE AUTHOR DISCLAIMS ALL
WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES
OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE
FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY
DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN
AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

1
LICENSES/0BSD.txt Symbolic link
View file

@ -0,0 +1 @@
../LICENSE

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:

23
REUSE.toml Normal file
View file

@ -0,0 +1,23 @@
version = 1
[[annotations]]
path = [
"PKGBUILD",
"README.md",
"keys/**",
".SRCINFO",
".nvchecker.toml",
".gitignore",
"*.install",
"*.sysusers",
"*.tmpfiles",
"*.logrotate",
"*.pam",
"*.service",
"*.socket",
"*.timer",
"*.desktop",
"*.hook",
]
SPDX-FileCopyrightText = "Arch Linux contributors"
SPDX-License-Identifier = "0BSD"