On 7/11/07, Roman Kyrylych <roman.kyrylych@gmail.com> wrote:
2007/7/6, Dan McGee <dpmcgee@gmail.com>:
--- PKGBUILD.proto 2 Mar 2007 20:42:07 -0000 1.15 +++ PKGBUILD.proto 6 Jul 2007 15:45:32 -0000 @@ -11,20 +11,23 @@ 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 }
AFAIK options=() is usually the last variable in a list, or is that just me? Also, we can start using newly introduced $srcdir and $pkgdir in PKGBUILD.proto (otherwise - what's the point introducing them if most people won't know about them?).
People seem to be getting way anal about order- does it really matter? One of the changes to the proto file was just to change the order of something...if you want, make the change. I'm not going to futz with it. We can't use $srtdir and $pkgdir yet- those are in GIT only, not released yet. With time, Roman. :) -Dan