summaryrefslogtreecommitdiff
path: root/libre/pacman-mirrorlist-libre/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libre/pacman-mirrorlist-libre/PKGBUILD')
-rw-r--r--libre/pacman-mirrorlist-libre/PKGBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/libre/pacman-mirrorlist-libre/PKGBUILD b/libre/pacman-mirrorlist-libre/PKGBUILD
new file mode 100644
index 000000000..0b1ed8fad
--- /dev/null
+++ b/libre/pacman-mirrorlist-libre/PKGBUILD
@@ -0,0 +1,25 @@
+# $Id: PKGBUILD 193769 2013-08-30 15:44:51Z dan $
+# Maintainer: Dan McGee <dan@archlinux.org>
+# Maintainer (Parabola): Esteban Carnevale <alfplayer@mailoo.org>
+# Maintainer (Parabola): André Silva <emulatorman@parabola.nu>
+
+pkgname=pacman-mirrorlist-libre
+pkgver=$(LC_ALL=C date -u +%Y%m%d)
+pkgrel=1
+pkgdesc="Parabola GNU/Linux-libre mirror list for use by pacman"
+arch=('any')
+url="https://repo.parabolagnulinux.org/mirrorlist.txt"
+license=('GPL')
+groups=('base')
+backup=(etc/pacman.d/mirrorlist)
+source=(mirrorlist-${pkgver}.txt::${url})
+conflicts=(pacman-mirrorlist)
+replaces=(pacman-mirrorlist)
+provides=(pacman-mirrorlist)
+
+package() {
+ mkdir -p $pkgdir/etc/pacman.d
+ install -m644 $srcdir/mirrorlist-${pkgver}.txt $pkgdir/etc/pacman.d/mirrorlist
+}
+
+md5sums=('d9611e055969ee109b56026ed06e4919')