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:
parent
34d3e06424
commit
bbfdbd2211
1
.gitignore
vendored
1
.gitignore
vendored
@ -7,3 +7,4 @@ src/**/*.log
|
||||
aur
|
||||
broke
|
||||
.SRCINFO
|
||||
build_single_nofail.sh
|
||||
|
34
arch-ppa
34
arch-ppa
@ -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
|
||||
|
@ -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')
|
||||
|
@ -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')
|
||||
|
@ -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)"
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user