commit 214fb6ab6cea2b5f10831b4a503f64abf29342db Author: Christian Schendel Date: Sun Jan 11 17:13:20 2026 +0100 upgpkg: ghostmirror-1:0.18.5-1: initial upload diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..179f153 --- /dev/null +++ b/.gitignore @@ -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 diff --git a/.nvchecker.toml b/.nvchecker.toml new file mode 100644 index 0000000..35f352d --- /dev/null +++ b/.nvchecker.toml @@ -0,0 +1,4 @@ +[ghostmirror] +source = "git" +git = "https://github.com/vbextreme/ghostmirror.git" +prefix = "v" diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..b87c5e4 --- /dev/null +++ b/LICENSE @@ -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. diff --git a/LICENSES/0BSD.txt b/LICENSES/0BSD.txt new file mode 120000 index 0000000..ea5b606 --- /dev/null +++ b/LICENSES/0BSD.txt @@ -0,0 +1 @@ +../LICENSE \ No newline at end of file diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..b1e9738 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,47 @@ +# Maintainer: Christian Schendel +# 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: diff --git a/REUSE.toml b/REUSE.toml new file mode 100644 index 0000000..e45b4ff --- /dev/null +++ b/REUSE.toml @@ -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"