diff options
author | Sebastian 'Swift Geek' Grzywna | 2017-02-28 03:08:31 +0100 |
---|---|---|
committer | Sebastian 'Swift Geek' Grzywna | 2017-02-28 03:09:05 +0100 |
commit | 3e8d2b0576db3e00c8bf0ac8a4db3a32a8a81fc1 (patch) | |
tree | 379b3a3b831dc156bd2fcfde25acb397b59193c6 | |
parent | 5e9d515cc5eb48133fb68118417c39e55de8a540 (diff) | |
download | aur-3e8d2b0576db3e00c8bf0ac8a4db3a32a8a81fc1.tar.gz |
Change default branch to master
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 9 |
2 files changed, 7 insertions, 6 deletions
@@ -1,9 +1,9 @@ # Generated by mksrcinfo v8 -# Tue Feb 28 01:52:01 UTC 2017 +# Tue Feb 28 02:08:31 UTC 2017 pkgbase = slic3r-git pkgdesc = Slic3r is an STL-to-GCODE translator for RepRap 3D printers, aiming to be a modern and fast alternative to Skeinforge. pkgver = a - pkgrel = 16 + pkgrel = 17 url = http://slic3r.org/ arch = i686 arch = x86_64 @@ -6,7 +6,7 @@ pkgname=slic3r-git pkgver=a -pkgrel=16 +pkgrel=17 pkgdesc="Slic3r is an STL-to-GCODE translator for RepRap 3D printers, aiming to be a modern and fast alternative to Skeinforge." arch=('i686' 'x86_64' 'armv6' 'armv6h' 'armv7h') url="http://slic3r.org/" @@ -34,7 +34,8 @@ md5sums=('SKIP' _gitname="Slic3r" #TODO: derrive this from pkgbuild "fragment", skip checkout/reset if fragment is set in source (no need for doing this twice) -_gitfragment="stable" +#_gitfragment="stable" +_gitfragment="master" _src_dir='$srcdir/$_gitname' countdown() { @@ -87,9 +88,9 @@ prepare() { case $select_mode in "branch/commit") eval cd "$_src_dir" - # Pick a branch - default is stable… for now + # Pick a branch - default is master… for now # TODO: derrive actual current state of selection (commit/branch from fragment) - branches=( $(git ls-remote --heads origin | sed 's?.*refs/heads/??' | awk '{printf $1; if ($1 == "stable") printf " on ";else printf " off "}') ) + branches=( $(git ls-remote --heads origin | sed 's?.*refs/heads/??' | awk '{printf $1; if ($1 == "master") printf " on ";else printf " off "}') ) branch=$(dialog --keep-tite --backtitle "$pkgname" --no-items --radiolist 'Pick branch' 0 0 0 ${branches[*]} 2>&1 >/dev/tty) unset branches msg2 "Chosen \"${branch}\" branch " |