[arch-commits] CVS update of arch/build (PKGBUILD.proto install.proto)
Dan McGee
dan at archlinux.org
Mon Jul 9 03:58:51 UTC 2007
Date: Sunday, July 8, 2007 @ 23:58:51
Author: dan
Path: /home/cvs-arch/arch/build
Modified: PKGBUILD.proto (1.15 -> 1.16) install.proto (1.5 -> 1.6)
update proto files
----------------+
PKGBUILD.proto | 11 ++++++++---
install.proto | 4 +++-
2 files changed, 11 insertions(+), 4 deletions(-)
Index: arch/build/PKGBUILD.proto
diff -u arch/build/PKGBUILD.proto:1.15 arch/build/PKGBUILD.proto:1.16
--- arch/build/PKGBUILD.proto:1.15 Fri Mar 2 15:42:07 2007
+++ arch/build/PKGBUILD.proto Sun Jul 8 23:58:51 2007
@@ -11,20 +11,25 @@
arch=()
url=""
license=('GPL')
+groups=()
depends=()
makedepends=()
provides=()
conflicts=()
replaces=()
backup=()
+options=()
install=
source=($pkgname-$pkgver.tar.gz)
noextract=()
-md5sums=(generate with makepkg -g)
+md5sums=() #generate with 'makepkg -g'
build() {
- cd $startdir/src/$pkgname-$pkgver
+ cd "$startdir/src/$pkgname-$pkgver"
+
./configure --prefix=/usr
make || return 1
- make DESTDIR=$startdir/pkg install
+ make DESTDIR="$startdir/pkg" install
}
+
+# vim:set ts=2 sw=2 et:
Index: arch/build/install.proto
diff -u arch/build/install.proto:1.5 arch/build/install.proto:1.6
--- arch/build/install.proto:1.5 Tue Nov 2 20:14:37 2004
+++ arch/build/install.proto Sun Jul 8 23:58:51 2007
@@ -35,4 +35,6 @@
op=$1
shift
-$op $*
+["$(type -t "$op")" = "function" ] && $op "$@"
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list