ghostmirror/PKGBUILD

48 lines
979 B
Text
Raw Permalink Normal View History

# 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: