#!/bin/shSPECNAME=$(pwd)/../../eepm.speccd ~/Projects/git/eepm.aur/ ||exitif[-f /usr/share/eterbuild/eterbuild ];then# load common functions, compatible with local and installed script. /usr/share/eterbuild/eterbuild load_mod spec etersoftVERSION="$(get_version $SPECNAME)"echo"$ subst \"s|^pkgver=.*|pkgver=$VERSION|\" PKGBUILD" subst "s|^pkgver=.*|pkgver=$VERSION|" PKGBUILDfiif[$(epm print info -g)!="pacman"];thenecho"Rerun the script on Arch based system"exit 1fiupdpkgsumsmakepkg --printsrcinfo> .SRCINFOgit add PKGBUILD .SRCINFOgit commitmakepkg -C-f--noconfirmecho"Check the result and run git push"