diff --git a/repo/alhp-mirrorlist/PKGBUILD b/repo/alhp-mirrorlist/PKGBUILD index 27353f4..6988ffe 100644 --- a/repo/alhp-mirrorlist/PKGBUILD +++ b/repo/alhp-mirrorlist/PKGBUILD @@ -1,23 +1,22 @@ # Maintainer: Giovanni Harting <539@idlegandalf.com> pkgname=alhp-mirrorlist -pkgver=20240208 +pkgver=20240615 pkgrel=1 -pkgdesc="ALHP mirror list for use by pacman" +pkgdesc='ALHP mirror list for use by pacman' arch=(any) -url="https://somegit.dev/ALHP/alhp-mirrorlist" -license=(GPL) +url='https://somegit.dev/ALHP/alhp-mirrorlist' +license=(GPL-2.0-or-later) backup=( - "etc/pacman.d/alhp-mirrorlist" - "etc/pacman.d/alhp-mirrorlist.ipfs" + 'etc/pacman.d/alhp-mirrorlist' + 'etc/pacman.d/alhp-mirrorlist.ipfs' ) -source=("https://somegit.dev/ALHP/alhp-mirrorlist/archive/$pkgver.tar.gz") -b2sums=('8c5ddadcb347db28bffffcadf35ad15b25de0e9aa9ca7e4f192d4b840a2f13ff931d62bc84cff5c4db3db11c0e2e5e815c113ab40a78c19df411a577cd76f7fc') +source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz") +b2sums=('181a3d7c71fe37eb25c560b3e8d4cb29e96b105781bb007799d7e117e8bde9ced7c58024ef0e4947ee5e4cc347c40595a867f79c1d03c186e6fa53198b66631d') package() { - mkdir -p "$pkgdir/etc/pacman.d" - install -m644 "$srcdir/alhp-mirrorlist/mirrorlist" "$pkgdir/etc/pacman.d/alhp-mirrorlist" - install -m644 "$srcdir/alhp-mirrorlist/mirrorlist.ipfs" "$pkgdir/etc/pacman.d/alhp-mirrorlist.ipfs" + install -Dm644 alhp-mirrorlist/mirrorlist "$pkgdir"/etc/pacman.d/alhp-mirrorlist + install -Dm644 alhp-mirrorlist/mirrorlist.ipfs "$pkgdir"/etc/pacman.d/alhp-mirrorlist.ipfs } # vim:set ts=2 sw=2 et: