You are not logged in.

#1 2006-05-30 19:44:43

Phrodo_00
Member
From: Seattle, WA
Registered: 2006-04-09
Posts: 342
Website

Strange problem with md5sums in PKGBUILD

Hi, I'm having a weird problem with the md5 sums for a PKGBUILD i'm making (or maybe is not weird and I'm just a noob, but please help me). I have this pkgbuild (still not released in aur because of this problem):

# Maintainer: Javier "Phrodo_00" Aravena <phrodo>
pkgname=rezlooks
pkgver=0.4
pkgrel=4
pkgdesc="
Rezlooks is a gtk theme engine based on the cairo-enabled CVS clearlooks engine code."
url="http://www.gnome-look.org/content/show.php?content=39179"
depends=('gtk2')
conflicts=('')
source=('http://www.gnome-look.org/content/files/39179-rezlooks-0.4.tar.gz http://people.os-zen.net/rezza/Rezlooks-Gilouche.tar.gz http://people.os-zen.net/rezza/Rezlooks-graphite.tar.gz')
md5sums=('fb62a0800708baf76de1ba08e5738527' '62d4973112ec184186ea7c53df7bf42e' 'c237a71acf1b8a382995cb6a4d45099e')
build() {
  cd $startdir/src/$pkgname-$pkgver
  ./configure --prefix=/usr --enable-animation
  make || return 1
  make DESTDIR=$startdir/pkg install
  mkdir -p $startdir/pkg/usr/share/themes
  cp -r $startdir/src/Rezlooks-Gilouche $startdir/pkg/usr/share/themes
  cp -r $startdir/src/Rezlooks-graphite $startdir/pkg/usr/share/themes
}

But when I do makepkg it builds normally, but it throws this warning:

==> WARNING: MD5sums are missing or incomplete.  Cannot verify source integrity.

that, well, isn't what I want. The thing is that I believe the md5sums are put in there as they should. The weirder thing is that when I run makepkg -g to generate the md5sums line it displays this:

md5sums=('fb62a0800708baf76de1ba08e5738527')
         '62d4973112ec184186ea7c53df7bf42e' 'c237a71acf1b8a382995cb6a4d45099e'

which is to say the least, off. So how should I write the md5sums?

Offline

#2 2006-05-30 20:27:22

whargoul
Member
From: Odense, Denmark
Registered: 2005-04-04
Posts: 546

Re: Strange problem with md5sums in PKGBUILD

This works for me:

# Maintainer: Javier "Phrodo_00" Aravena <phrodo>
pkgname=rezlooks
pkgver=0.4
pkgrel=4
pkgdesc="Rezlooks is a gtk theme engine based on the cairo-enabled CVS clearlooks engine code."
url="http://www.gnome-look.org/content/show.php?content=39179"
depends=('gtk2')
conflicts=('')
source=('http://www.gnome-look.org/content/files/39179-rezlooks-0.4.tar.gz' 'http://people.os-zen.net/rezza/Rezlooks-Gilouche.tar.gz' 'http://people.os-zen.net/rezza/Rezlooks-graphite.tar.gz')
md5sums=('fb62a0800708baf76de1ba08e5738527' '62d4973112ec184186ea7c53df7bf42e' 'c237a71acf1b8a382995cb6a4d45099e')
build() {
  cd $startdir/src/$pkgname-$pkgver
  ./configure --prefix=/usr --enable-animation
  make || return 1
  make DESTDIR=$startdir/pkg install
  mkdir -p $startdir/pkg/usr/share/themes
  cp -r $startdir/src/Rezlooks-Gilouche $startdir/pkg/usr/share/themes
  cp -r $startdir/src/Rezlooks-graphite $startdir/pkg/usr/share/themes
} 

[edit]
You should consider to include gtk-engines. Without it, it will not work. At least not for me.
[/edit]


Arch - It's something refreshing

Offline

#3 2006-05-30 20:34:32

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: Strange problem with md5sums in PKGBUILD

Your problem is in your source array, not your md5sums.

You have:

source=('http://www.gnome-look.org/content/files/39179-rezlooks-0.4.tar.gz http://people.os-zen.net/rezza/Rezlooks-Gilouche.tar.gz http://people.os-zen.net/rezza/Rezlooks-graphite.tar.gz')

and you need:

source=('http://www.gnome-look.org/content/files/39179-rezlooks-0.4.tar.gz' 
        'http://people.os-zen.net/rezza/Rezlooks-Gilouche.tar.gz' 
        'http://people.os-zen.net/rezza/Rezlooks-graphite.tar.gz')

(or all on one line without the slashes)

Similarily, your conflicts line really should either not be there at all, or look like this:

conflicts=()

These are bash arrays.

Offline

#4 2006-05-30 21:14:19

Phrodo_00
Member
From: Seattle, WA
Registered: 2006-04-09
Posts: 342
Website

Re: Strange problem with md5sums in PKGBUILD

Cerebral wrote:

Your problem is in your source array, not your md5sums.

You have:

source=('http://www.gnome-look.org/content/files/39179-rezlooks-0.4.tar.gz http://people.os-zen.net/rezza/Rezlooks-Gilouche.tar.gz http://people.os-zen.net/rezza/Rezlooks-graphite.tar.gz')

and you need:

source=('http://www.gnome-look.org/content/files/39179-rezlooks-0.4.tar.gz' 
        'http://people.os-zen.net/rezza/Rezlooks-Gilouche.tar.gz' 
        'http://people.os-zen.net/rezza/Rezlooks-graphite.tar.gz')

(or all on one line without the slashes)

Similarily, your conflicts line really should either not be there at all, or look like this:

conflicts=()

These are bash arrays.

thanks I'll update my other package too (they are both based in the same file)

Offline

Board footer

Powered by FluxBB