Skip to content

Instantly share code, notes, and snippets.

@Kwpolska
Created January 30, 2015 09:47
Show Gist options
  • Save Kwpolska/2cd7e0a29b991f184250 to your computer and use it in GitHub Desktop.
Save Kwpolska/2cd7e0a29b991f184250 to your computer and use it in GitHub Desktop.
AURgit automation
mkaur() {
pkg=$1
ssh aur-dev.archlinux.org setup-repo $1
git clone ssh+git://aur-dev.archlinux.org/$1.git/
cd $1
cp ~/git/aur-pkgbuilds/$1/* .
}
cpaur() {
pkg=$1
cd $1
cp ~/git/aur-pkgbuilds/$1/* .
}
commitaur() {
mksrcinfo
git add .
git commit -asm $1
git push -u origin master
cd ..
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment