You are not logged in.

#1 2007-07-09 14:57:54

The_ouroboros
Member
From: Pavia, Italy
Registered: 2007-05-28
Posts: 140

Can anyone try this?

It's my first PKGBUILD.

pkgname=simdock
pkgver=1.2
pkgrel=1
pkgdesc="SimDock is a fast and customizable dockbar. It is written in c++ and wxWidgets"
arch=('i686' 'x86_64')
url="http://sourceforge.net/projects/simdock/"
license=('GPL')
depends=('wxgtk-2.6')
source=(http://downloads.sourceforge.net/$pkgname/$pkgname_$pkgver.tar.gz)
md5sums=('3acd7898efcc42a8d19bd9e02254303f')

build() {
  cd $startdir/src/$pkgname-$pkgver
  ./configure --prefix=/usr
  make || return 1
  make prefix=$startdir/pkg/usr install
}

Last edited by The_ouroboros (2007-07-09 18:05:46)


Gnu/Linux User on Arch(x86_64)

Offline

#2 2007-07-09 15:53:18

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

Re: Can anyone try this?

I'm at work right now and can't test to see if this properly builds, but here's a couple comments after looking at the PKGBUILD.

1) It's always helpful to have a url="http://whatever.com" field to point people to the project's homepage.
2) You're going to need a pkgrel (placed, generally, right after pkgver).  pkgrel=1
3) That URL looks odd - are you sure it works?  I think you might want

source=(http://downloads.sourceforge.net/$pkgname/$pkgname_$pkgver.tar.gz)

Otherwise it looks OK.

Offline

#3 2007-07-09 16:06:06

The_ouroboros
Member
From: Pavia, Italy
Registered: 2007-05-28
Posts: 140

Re: Can anyone try this?

tnks 4 the tips..
The pkg doesn't have a site(it isn't mine)

Last edited by The_ouroboros (2007-07-09 16:28:49)


Gnu/Linux User on Arch(x86_64)

Offline

#4 2007-07-09 16:45:44

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

Re: Can anyone try this?

The_ouroboros wrote:

The pkg doesn't have a site(it isn't mine)

if it's hosted in sf it should have a proyect page righ? so link that.

Offline

#5 2007-07-09 18:03:50

The_ouroboros
Member
From: Pavia, Italy
Registered: 2007-05-28
Posts: 140

Re: Can anyone try this?

but...does it work?

Last edited by The_ouroboros (2007-07-09 18:05:05)


Gnu/Linux User on Arch(x86_64)

Offline

#6 2007-07-09 19:01:55

pressh
Developer/TU
From: Netherlands
Registered: 2005-08-14
Posts: 1,719

Re: Can anyone try this?

no it does not.
I corrected your PKGBUILD a bit to bring it in a working state

pkgname=simdock
pkgver=1.2
pkgrel=1
pkgdesc="SimDock is a fast and customizable dockbar. It is written in c++ and wxWidgets"
arch=('i686' 'x86_64')
url="http://sourceforge.net/projects/simdock/"
license=('GPL')
depends=('wxgtk')
source=(http://downloads.sourceforge.net/$pkgname/SimBar.tar.bz2)
md5sums=('3acd7898efcc42a8d19bd9e02254303f')

build() {
  cd $startdir/src/SimBar
  ./configure --prefix=/usr
  make || return 1
  make DESTDIR=$startdir/pkg install
}

Last edited by pressh (2007-07-09 19:02:11)

Offline

#7 2007-07-09 19:15:34

The_ouroboros
Member
From: Pavia, Italy
Registered: 2007-05-28
Posts: 140

Re: Can anyone try this?

pressh wrote:

no it does not.
I corrected your PKGBUILD a bit to bring it in a working state

tnks 100000


Gnu/Linux User on Arch(x86_64)

Offline

Board footer

Powered by FluxBB