You are not logged in.

#1 2010-08-17 02:12:18

schen
Member
Registered: 2009-06-06
Posts: 468

[solved]thunar-volman-git

Ugh, getting thunar-volman-git has been a PITA for me.

http://aur.archlinux.org/packages.php?ID=30418

First of all, this package doesn't install successfully because once it is downloaded from the git repo, the configure.in has an extra .in, making it a configure.in.in. xdt-autogen then spits out an error about no configure.in or configure.ac.

Second of all, you can't rename the configure.in.in manually and run it again, because once the files are downloaded, git spits out and error about the directory already there.

That's it.

Last edited by schen (2010-08-17 12:24:49)

Offline

#2 2010-08-17 02:15:28

SamC
Member
From: Calgary
Registered: 2008-05-13
Posts: 611
Website

Re: [solved]thunar-volman-git

Rename it as part of the PKGBUILD, after git has downloaded things the first time.

Offline

#3 2010-08-17 02:22:39

schen
Member
Registered: 2009-06-06
Posts: 468

Re: [solved]thunar-volman-git

Hmm, good idea.

So, I would go like this?

pkgname=thunar-volman-git
pkgver=20100221
pkgrel=1
pkgdesc="automatic management for removeable devices in thunar"
arch=(i686 x86_64)
license=('GPL2')
url="http://goodies.xfce.org/projects/thunar-plugins/thunar-volman"
groups=('xfce4-goodies-git')
depends=('thunar')
makedepends=('subversion' 'intltool' 'pkgconfig' 'xfce4-dev-tools')
conflicts=(thunar-volman)
provides=(thunar-volman)
options=('!libtool')
install=${pkgname}.install
source=()
md5sums=()

_gitroot=git://git.xfce.org/apps/thunar-volman
_gitname=thunar-volman

build() {
    cd $startdir/src/
    msg "Getting sources..."
    git clone $_gitroot

    cd $_gitname

    rename configure.in.in configure.in configure.in.in

    msg "Starting build..."

  ./autogen.sh --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib \
    --localstatedir=/var --disable-static
  make || return 1
  make DESTDIR=${startdir}/pkg install
}

EDIT: IT WORKS!

So easy...

Last edited by schen (2010-08-17 02:35:17)

Offline

Board footer

Powered by FluxBB