You are not logged in.

#1 2005-05-04 01:38:12

twpvw5
Member
From: Columbia, MO, US
Registered: 2005-03-06
Posts: 45

PKGBUILD: trayer

I'm trying to get fvwm-crystal together but when I try to make is package it makes the program just fine but when it goes to "install" I get the following error:

install -d /usr/bin /usr/share/man/man1
install: cannot create directory `/usr/share/man': Permission denied

Looks like it's trying to accutally write to those dirs instead of the fakeroot pkg dir

Here's my PKGBUILD 

# Maintainer:
# Contributor: Tyler Pickett <twpvw5@mizzou.edu>
pkgname=trayer
pkgver=1.0
pkgrel=1
pkgdesc="A "docklet" replacement, used for dockable icons in some applications, such as Psi or Gaim."
url="http://fvwm-crystal.berlios.de"
groups=
provides=
depends=('gtk2')
makedepends=()
conflicts=()
replaces=()
backup=()
install=()
source=("http://fvwm-crystal.berlios.de/files/trayer/$pkgname-$pkgver.tar.gz")
md5sums=('9acac948017bf1b5fc50bc1117c9b098')

build() {
  cd $startdir/src/$pkgname-$pkgver
  make || return 1
  make DESTDIR=$startdir/pkg
}

-The more engineering courses I take, the more I lose my heart for engineering. I just want to F*@%ing build stuff!

Offline

#2 2005-05-04 07:29:45

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

Re: PKGBUILD: trayer

Replace make install by:
make DESTDIR=$startdir/pkg install

Offline

#3 2005-05-06 03:42:57

twpvw5
Member
From: Columbia, MO, US
Registered: 2005-03-06
Posts: 45

Re: PKGBUILD: trayer

thanks snowman that took care of it!


-The more engineering courses I take, the more I lose my heart for engineering. I just want to F*@%ing build stuff!

Offline

Board footer

Powered by FluxBB