export FILE_DIR="${SRCDIR}/../install/universal"

abinfo "Installing desktop file ..."
install -Dvm644 "${FILE_DIR}/v2raya.desktop" \
	"${PKGDIR}/usr/share/applications/v2raya.desktop"

abinfo "Installing icon ..."
# It is a 512x512 icon
install -Dvm644 "${FILE_DIR}/v2raya.png" \
	"${PKGDIR}/usr/share/icons/hicolor/512x512/apps/v2raya.png"

abinfo "Renaming v2rayA to v2raya ..."
mv -v "${PKGDIR}/usr/bin/v2rayA" "${PKGDIR}/usr/bin/v2raya"
