You are not logged in.

#1 2009-02-25 14:21:26

doze_worm
Member
Registered: 2009-02-25
Posts: 2

PKGBUILD for mac-3.99-u4-b5, help check plz

Hi all
I wish to add a package to AUR, and I only test it in x86_64. Could anybody help me to check it in i686? TIA.
Besides, I've got a question here. The dest files have a static lib file, which is $startdir/pkg/usr/lib/libmac.a. When I put PKGBUILD in different path and perform the makepkg command, the md5sums of this static lib file that created in each build operation are different. Is that correct ?

#contributor= doze_worm <shuimao@gmail.com>
pkgname=mac
pkgver=3.99
_srcSubVer=u4-b5
pkgrel=1
pkgdesc="Monkey's Audio Codec(.APE) non-win32 port. Transform .ape to .wav"
arch=('i686' 'x86_64')
license=(unknown)
provides=('mac=3.99')
conflicts=('')
source=("http://supermmx.org/resources/linux/mac/${pkgname}-${pkgver}-${_srcSubVer}.tar.gz")
depends=('')
md5sums=('75716b342e07deae58f56a2522362006')

build(){
    cd "$srcdir/${pkgname}-${pkgver}-${_srcSubVer}" || return 1
    ./configure --prefix=/usr || return 1
    make || return 1
    make DESTDIR="$pkgdir" install || return 1
}

Offline

#2 2009-02-26 01:18:52

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: PKGBUILD for mac-3.99-u4-b5, help check plz

1) your provides array has an = sign in it. Are you sure the package name has a = in it? You might want to change that to a - or nothing at all depending on what the actual package name is

2) If you do not have conflicts and or depends, you should remove those array completely as opposed to providing empty arrays.

3) You haven't provided a url for the application.

4) As for the static file under lib, how about you just copy the entire lib folder under your $pkgname directory?


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

Board footer

Powered by FluxBB