summaryrefslogtreecommitdiff
path: root/libre/pacman-mirrorlist/PKGBUILD
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-09-02 06:41:22 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-09-02 06:41:22 -0300
commitfcce4e670cd2d81990b3f50e8a682b44d40a73cc (patch)
tree2634d6d68316f3f4dd51f378e826da884a919288 /libre/pacman-mirrorlist/PKGBUILD
parentc5822ca785d156da9849d5e25dc79a93d1fac22d (diff)
remove parabola suffix and add complex pkgrel on the packages
Diffstat (limited to 'libre/pacman-mirrorlist/PKGBUILD')
-rw-r--r--libre/pacman-mirrorlist/PKGBUILD24
1 files changed, 24 insertions, 0 deletions
diff --git a/libre/pacman-mirrorlist/PKGBUILD b/libre/pacman-mirrorlist/PKGBUILD
new file mode 100644
index 000000000..f35adafcc
--- /dev/null
+++ b/libre/pacman-mirrorlist/PKGBUILD
@@ -0,0 +1,24 @@
+# $Id: PKGBUILD 193769 2013-08-30 15:44:51Z dan $
+# Maintainer (Arch): Dan McGee <dan@archlinux.org>
+# Maintainer: Esteban Carnevale <alfplayer@mailoo.org>
+# Maintainer: André Silva <emulatorman@parabola.nu>
+
+pkgname=pacman-mirrorlist
+pkgver=$(LC_ALL=C date -u +%Y%m%d)
+pkgrel=1.parabola1
+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-libre pacman-mirrorlist-parabola)
+replaces=(pacman-mirrorlist-libre pacman-mirrorlist-parabola)
+
+package() {
+ mkdir -p $pkgdir/etc/pacman.d
+ install -m644 $srcdir/mirrorlist-${pkgver}.txt $pkgdir/etc/pacman.d/mirrorlist
+}
+
+md5sums=('31c810b4eb182ee2d96243d65c8915df')