[pacman-dev] FS7228: Update {PKGBUILD,install}.proto
Roman Kyrylych
roman.kyrylych at gmail.com
Wed Jul 11 10:29:03 EDT 2007
2007/7/6, Dan McGee <dpmcgee at 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?).
Just my 2 cents.
--
Roman Kyrylych (Роман Кирилич)
More information about the pacman-dev
mailing list