mirror of
https://github.com/Snigdha-OS/snigdhaos-pkgbuilds.git
synced 2025-09-21 03:55:02 +02:00
add snigdhaos-mirrorlist
This commit is contained in:
21
snigdhaos-mirrorlist/PKGBUILD
Normal file
21
snigdhaos-mirrorlist/PKGBUILD
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
# Maintainer: Eshan Roy <eshan@snigdhaos.org>
|
||||||
|
|
||||||
|
pkgname=snigdhaos-mirrorlist
|
||||||
|
pkgver=1
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="Snigdha OS mirrorlist."
|
||||||
|
arch=('any')
|
||||||
|
license=("MIT")
|
||||||
|
backup=('etc/pacman.d/snigdhaos-mirrorlist')
|
||||||
|
source=("snigdhaos-mirrorlist")
|
||||||
|
sha512sums=('SKIP')
|
||||||
|
pkgver() {
|
||||||
|
# cd "$srcdir/$pkgname"
|
||||||
|
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
mkdir -p "$pkgdir/etc/pacman.d"
|
||||||
|
|
||||||
|
install -Dm 644 -t "$pkgdir/etc/pacman.d/" $pkgname
|
||||||
|
}
|
2
snigdhaos-mirrorlist/snigdhaos-mirrorlist
Normal file
2
snigdhaos-mirrorlist/snigdhaos-mirrorlist
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
# Worldwide
|
||||||
|
Server = https://snosmirror.github.io/$repo/$arch
|
Reference in New Issue
Block a user