blob: cc71a50fe0d0949a1494bd5dfd51fb3380e7273b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# Maintainer: Vbextreme <@>
# Contributor: Vbextreme <@>
prj='ghostmirror'
pkgname=($prj)
pkgdesc='modern alternative to reflector, true check mirror status, mirror download speed and more.'
pkgver='0.10.0'
pkgrel=1
arch=('x86_64')
url="https://github.com/vbextreme/${prj}.git"
source=("${pkgname}-${pkgver}.tar.gz"::"https://github.com/vbextreme/${prj}/archive/v${pkgver}.tar.gz")
license=('GPL3')
sha256sums=('SKIP')
makedepends=('meson' 'ninja')
depends=('curl' 'zlib' 'systemd-libs')
prepare() {
cd "${prj}-${pkgver}"
meson setup build -Dprefix=/usr
}
build() {
cd "${prj}-${pkgver}/build"
ninja
}
package() {
cd "${prj}-${pkgver}/build"
DESTDIR="$pkgdir" ninja install
}
|