blob: 026ca166f81f1463ed300af437230fa0a569d15f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#!/bin/bash
set -e
for pkg in "$@"; do
export MAINTAINER="Florian Pritz <bluewind@xinu.at>"
target=~/arch/community
genpkg $pkg
mkdir -p "$target/$pkg/"{trunk,repos}
if [[ -f "$target/$pkg/trunk/PKGBUILD" ]]; then
vimdiff "$HOME/pkg/dest/$pkg/PKGBUILD" "$target/$pkg/trunk/PKGBUILD"
else
cp "$HOME/pkg/dest/$pkg/PKGBUILD" "$target/$pkg/trunk/"
fi
done
|