#!/bin/bash

set -euo pipefail

echo "vim"

# Just in case, check for updates
sudo pkgfile -u

pkgfile -rd "^/usr/lib/perl5/" | sed 's#^.*/##' | sort -u

ssh build.archlinux.org sogrep -r
for repo in core extra multilib; do
	ssh build.archlinux.org sogrep "$repo" libperl.so
done

# this one is optional
#pkgfile -r '^/usr/share/perl5/'  | sed 's#^.*/##' | sort -u

