1
0
mirror of https://github.com/moparisthebest/arch-ppa synced 2024-12-21 05:58:48 -05:00

Finally build all updated packages

This commit is contained in:
Travis Burtrum 2017-03-19 19:23:49 -04:00
parent 34d3e06424
commit bbfdbd2211
6 changed files with 35 additions and 8 deletions

1
.gitignore vendored
View File

@ -7,3 +7,4 @@ src/**/*.log
aur
broke
.SRCINFO
build_single_nofail.sh

View File

@ -260,16 +260,42 @@ build() {
rebuild() {
(
set -e
setup
repo_name=$1
set -e
if [ "$#" -lt 1 ]; then
echo "Must specify repository name to build (and optional package list to include)"
return 1
fi
setup
repo_name=$1
mkdir -p $basedir/$repo_name
shift
arch-nspawn $chroot/$repo_name pacman -Rscn --noconfirm "$@"
arch-nspawn $chroot/$repo_name pacman -Rscn --noconfirm "$@" || true
build "$repo_name" "$@"
)
}
build_changed() {
(
# git diff-tree --no-commit-id --name-status -r "$commit" | grep -v ^D | grep PKGBUILD$ | sed -e 's@/PKGBUILD$@@' -e 's@.*/@@' | xargs -n1 arch-nspawn chroot/aur pacman -Rscn --noconfirm
# git diff-tree --no-commit-id --name-status -r "$commit" | grep -v ^D | grep PKGBUILD$ | sed -e 's@/PKGBUILD$@@' -e 's@.*/@@' | xargs -n1 ./arch-ppa build aur
set -e
if [ "$#" -lt 1 ]; then
echo "Must specify repository name to build (and optional package list to include)"
return 1
fi
setup
repo_name=$1
mkdir -p $basedir/$repo_name
shift
commit="$1"
[ "$commit" == "" ] && commit=HEAD
changed_pkgbuilds="$(git diff-tree --no-commit-id --name-status -r "$commit" | grep -v ^D | grep PKGBUILD$ | sed -e 's@/PKGBUILD$@@' -e 's@.*/@@' | tr '\n' ' ')"
# remove them
arch-nspawn $chroot/$repo_name pacman -Rscn --noconfirm $changed_pkgbuilds || true
build "$repo_name" $changed_pkgbuilds
)
}
if [ "$#" -gt 0 ]; then
$*
else

View File

@ -1,7 +1,7 @@
# Maintainer: Oliver Jaksch <arch-aur@com-in.de>
pkgname=libretro-atari800-git
pkgver=27.ee20fb8
pkgver=31.bd1db4e
pkgrel=1
pkgdesc="libretro implementation of Atari800 v3.1.0 (Atari 5200/400/800/XL/XE) (WIP)"
arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h')

View File

@ -1,7 +1,7 @@
# Maintainer: Oliver Jaksch <arch-aur@com-in.de>
pkgname=libretro-stella-git
pkgver=174.2c7eca0
pkgver=176.cdbc9cc
pkgrel=1
pkgdesc="libretro implementation of Stella. (Atari 2600)"
arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h')

View File

@ -8,7 +8,7 @@
pkgname=prosody-hg-stable
pkgrel=1
pkgver=0.10.r7111+.0dea440bdd46+
pkgver=0.10.r7239+.703f7f45feb4+
pkgver() {
cd "$srcdir/prosody-hg"
printf "0.10.r%s.%s" "$(hg identify -n)" "$(hg identify -i)"

View File

@ -3,7 +3,7 @@
pkgname='python2-axolotl-git'
_pkgname='python-axolotl'
pkgver=r39.9585d72
pkgver=0.1.35.r0.g72f7c44
pkgrel=1
pkgdesc="Python port of libaxolotl"
url="https://github.com/tgalal/python-axolotl"