You are not logged in.

#26 2007-03-08 18:23:56

nadavvin
Member
Registered: 2006-11-29
Posts: 105

Re: Problem to create a package the download of the source faild

Offline

#27 2007-03-08 20:58:05

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: Problem to create a package the download of the source faild

Replace DESTDIR by INSTALL_ROOT

Offline

#28 2007-03-08 22:21:51

nadavvin
Member
Registered: 2006-11-29
Posts: 105

Re: Problem to create a package the download of the source faild

Why Does I don't appear as the packager?

packager = Arch Linux (http://www.archlinux.org)

The PKGBUILD is now:

# Contributor: Nadav Vinik <nadavvin at gmail.com>
# export PACKAGER="Nadav Vinik <nadavvin at gmail.com>"
pkgname=php-gtk
pkgver=2.0.0alpha
pkgrel=1
pkgdesc="GTK+ binding to PHP"
depends=('php>=5.1.6' 'gtk' 'glib' 'libpng>=1.2.8' 'fontconfig>=2.4.0' 'cairo>=1.2.4' 'pango>=1.14.7' 'atk>=1.9.1' 'libgnomeprint>=2.12.1' 'gtksourceview>=1.6.0' 'pkgconfig>=0.21')
source=(http://gtk.php.net/distributions/php-gtk-2.0.0alpha.tar.gz)
url="http://gtk.php.net"
md5sums=('f2621750f1dec322d3fe3670cb62b926')
license=('php')
arch=(i686)
install=('INSTALL')

build() {
    cd $startdir/src/$pkgname-$pkgver
    ./buildconf --with-phpize=/usr/bin/phpize
    ./configure --prefix=/usr --enable-sourceview 
    --with-php-config=/usr/bin/php-config
    make || return 1
    make INSTALL_ROOT=$startdir/pkg/usr install
}

Offline

#29 2007-03-08 22:51:27

nadavvin
Member
Registered: 2006-11-29
Posts: 105

Re: Problem to create a package the download of the source faild

After very very long time for very small package:

I upload the package: link

and find out that someone already do it:
link

sad

Offline

#30 2007-03-08 23:06:26

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: Problem to create a package the download of the source faild

Modify  the  PACKAGER variable in /etc/makepkg.conf

I've removed your pkg from AUR as it was a duplicate. At least, it was a good exercice for your pkg building skills. wink

Offline

#31 2007-03-09 02:32:52

SleepingGiant08
Member
From: Ellicott City, MD USA
Registered: 2007-01-10
Posts: 124

Re: Problem to create a package the download of the source faild

Snowman wrote:

Modify  the  PACKAGER variable in /etc/makepkg.conf

I've removed your pkg from AUR as it was a duplicate. At least, it was a good exercice for your pkg building skills. wink

it also helped me with my building skills too smile


Registered Linux User #439761

Offline

Board footer

Powered by FluxBB