blob: ee4e7ae9d2facd3679a9c3a9030f226518a540e1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# Maintainer: ApplicationMaker <Application-Maker.Uinwad@erine.email>
pkgname=pacman-mirrors-helper-git
pkgver=r94.f5340a4
pkgrel=1
pkgdesc="A convenient tool, designed to simplify repository management and mirror selection."
arch=(any)
url="https://codeberg.org/Application-Maker/pacman-mirrors-helper"
license=(GPL-3.0-or-later)
depends=(bash coreutils curl gawk ncurses pacman sed util-linux)
makedepends=(coreutils git)
source=("git+https://codeberg.org/Application-Maker/pacman-mirrors-helper.git#branch=main")
sha256sums=(SKIP)
pkgver() {
cd "$srcdir/${pkgname%-git}" || exit 1
printf "r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
}
package() {
cd "$srcdir/${pkgname%-git}" || exit 1
install -Dm755 pacman-mirrors-helper.sh "$pkgdir/usr/bin/pacman-mirrors-helper"
}
|