abinfo "Installing Steam ..."
make install \
    DESTDIR="$PKGDIR"

abinfo "Dropping APT configurations ..."
rm -rv "$PKGDIR"/etc/apt

abinfo "Installing UDev rules ..."
install -Dvm644 "$SRCDIR"/subprojects/steam-devices/60-steam-input.rules \
    "$PKGDIR"/usr/lib/udev/rules.d/70-steam-input.rules
install -Dvm644 "$SRCDIR"/subprojects/steam-devices/60-steam-vr.rules \
    "$PKGDIR"/usr/lib/udev/rules.d/steam-devices/70-steam-vr.rules

abinfo "Stubbing steamdeps ..."
ln -sfv /usr/bin/true \
    "$PKGDIR"/usr/bin/steamdeps
