Last active
June 8, 2016 19:31
-
-
Save sistematico/196107621c492f9db5b774cf0b64255e to your computer and use it in GitHub Desktop.
Um helper para criar e enviar um novo pacote para o AUR(http://aur.archlinux.org)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# | |
# aursend.sh - Um pequeno helper para criar e enviar | |
# um novo pacote para o AUR(http://aur.archlinux.org) | |
# Usando o método com Git | |
# | |
# Criado por Lucas Saliés Brum | |
# Com base em http://bit.ly/1U2bTRE | |
# Em 05-06-2016 07:30:25 | |
# | |
# Uso: wget https://git.io/vomBy -O aursend.sh | |
# chmod +x aursend.sh | |
# ./aursend.sh nome_do_pacote | |
pacote=$1 | |
mv $pacote ${pacote}.old | |
git clone git+ssh://aur@aur.archlinux.org/${pacote}.git | |
cp ${pacote}.old/PKGBUILD ${pacote}/ | |
cd $pacote | |
makepkg --printsrcinfo > .SRCINFO | |
git add PKGBUILD .SRCINFO | |
git commit -m "Commit inicial" | |
git push |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment