[aur-general] mirdir pkg error

nathan owe. ndowens04 at gmail.com
Wed Jun 10 22:24:45 EDT 2009


Allan McRae wrote:
> nathan owe. wrote:
>> I am trying to make a pkg :
>>
>>
>> # Contributor: Nathan Owe. ndowens04 at gmail dot com
>> pkgname=mirdir
>> pkgver=2.1
>> pkgrel=1
>> pkgdesc="allows to synchronize two directory trees in a fast way."
>> arch=(i686)
>> url="http://mirdir.sf.net"
>> license=('GPL')
>> depends=()
>> makedepends=('make' 'fakeroot')
>> source=(http://downloads.sourceforge.net/sourceforge/mirdir/$pkgname-$pkgver-Unix.tar.gz) 
>>
>> md5sums=('56afe2aae7983176fd804c264740d6a2')
>>
>> build() {
>>  cd "$srcdir/$pkgname-$pkgver-UNIX"
>>
>>  ./configure --prefix=/usr
>>  make || return 1
>>  make DESTDIR="$pkgdir/" install
>> }
>>
>> when i try to do makepkg -s it gives
>> ./mkinstalldirs /usr/bin
>> ./mkinstalldirs /usr/man/man1
>> /bin/install -c bin/mirdir /usr/bin
>> /bin/install: cannot create regular file `/usr/bin/mirdir': 
>> Permission denied
>> make: *** [install] Error 1
>
> It looks like that package does not support the DESTDIR arguement.  
> You will need to look at the makefile to see what it does do...
>
> Allan
>
>
>
>
well i got it to get past the error, now i just need to get it to 
install the man pages to /usr/share/man but i do 
mandir=${pkgdir}/usr/share/man after the make command and it still dont 
want to install in the correct dir


More information about the aur-general mailing list