diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..494587e --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = tromjaro-mirrorlist + pkgdesc = Official mirrorlist of TROMjaro + pkgver = 1 + pkgrel = 1 + url = https://gitlab.com/tromsite/tromjaro/mirrorlist-settings + install = tromjaro-mirrorlist.install + arch = any + license = GPL3 + makedepends = git + source = tromjaro-mirrorlist::git+https://gitlab.com/tromsite/tromjaro/mirrorlist-settings.git + source = tromjaro-mirrorlist.install + sha256sums = SKIP + sha256sums = 0675666c8874a416c0a60f16ab9dabb26b37f35fdd6553a5202ecd04e95385d3 + +pkgname = tromjaro-mirrorlist + diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1c08abb --- /dev/null +++ b/.gitignore @@ -0,0 +1,7 @@ +* + +!README.md +!tromjaro-mirrorlist.install +!.SRCINFO +!.git +!.gitignore \ No newline at end of file diff --git a/tromjaro-mirrorlist.install b/tromjaro-mirrorlist.install new file mode 100644 index 0000000..a4cfc6f --- /dev/null +++ b/tromjaro-mirrorlist.install @@ -0,0 +1,11 @@ +post_install() { + sed -i '/TROMrepo/,+2d' /etc/pacman.conf + sed -i '$a\ + [TROMrepo]\ + SigLevel = Never\ + Include = /etc/pacman.d/tromjaro-mirrorlist' /etc/pacman.conf +} + +post_upgrade() { + post_install +} \ No newline at end of file