You are not logged in.

#1 2004-08-10 02:03:57

ravster
Member
From: Queen's U, Kingston, Canada
Registered: 2004-05-02
Posts: 285
Website

[Request]Powermanga

Could anyone help me with making a powermanga package? I have created a PKGBUILD, but after compiling and installing during 'makepkg', there is nothing in the '*pkg.tar.gz' file, and the filelist has nothing in it.

#Contributor Ravi Desai <ravster3@hotmail.com>
pkgname=powermanga
pkgver=0.79
pkgrel=1
pkgdesc=""
url="http://linux.tlk.fr/games/Powermanga/download"
license="GPL"
depends=()
makedepends=()
source=($url/$pkgname-$pkgver.tgz)
md5sums=('3a4f00658496921b7327413ac476c1b7')

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

Offline

#2 2004-08-10 07:06:02

dpb
Member
From: Cyperspace?
Registered: 2004-04-11
Posts: 231

Re: [Request]Powermanga

ravster wrote:

  su -c 'make prefix=$startdir/pkg/usr install' || return 1

Change that to this:

make prefix=$startdir/pkg/usr install || return 1

Packages should be made as the root user or in a fakeroot environment, not as a user with su in the pkgbuild.

Offline

Board footer

Powered by FluxBB