You are not logged in.

#1 2008-07-29 20:09:41

artiom
Member
From: France
Registered: 2008-07-29
Posts: 108

[package] original drivemount applet for Gnome

In gnome 2.22 the behavour of the drive mount applet has changed again. So I have found the sources for the original (before 2.10) drivemount applet with one button and many options. I have made a PKGBUILD for it.
It works fine for me but this is my first PKGBUILD and I would like to somebody looks on it before submit to AUR.

pkgname=drivemount-original-applet
pkgver=2.10.0
pkgrel=1
pkgdesc=""
arch=(i686)
url="http://gqapplets.sourceforge.net/applet-mount.html"
license=('GPL')
groups=()
depends=(gnome-panel)
makedepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
source=($pkgname-$pkgver.tar.gz)
noextract=()
md5sums=() #generate with 'makepkg -g'

build() {
  cd "$srcdir/$pkgname-$pkgver"

  ./configure --prefix=/usr --libexecdir=/usr/lib/gnome-applets/
  make || return 1
  make DESTDIR="$pkgdir" install
}

Offline

#2 2008-07-30 13:06:16

jleach
Member
Registered: 2008-07-24
Posts: 27

Re: [package] original drivemount applet for Gnome

I'm a PKGBUILD noob but I'll contribute what I gathered from a quick test with this one...

1. It compiles, installs, runs fine on x86_64, so you should add that to ARCH:

arch=(i686 x86_64)

2. It didn't auto-download the file like I expected, you should modify source so it can grab the tarball straight from sourceforge:

source=("http://downloads.sourceforge.net/gqapplets/drivemount-original-applet-${pkgver}.tar.gz")

3. Should enable the md5sum, to please users that may be worried about the security of downloads from AUR:

md5sums=('ea4e4f0f2f6e8cb0d7524d49ec1d3cd5')

4. Should give it a description so people can search for it easier:

pkgdesc="The original drive mount panel applet for the GNOME panel"

Other than that, compiles and installs smoothly!

Last edited by jleach (2008-07-30 13:58:14)

Offline

#3 2008-07-31 10:22:43

artiom
Member
From: France
Registered: 2008-07-29
Posts: 108

Re: [package] original drivemount applet for Gnome

Thank you for your test. I will submit it to AUR.

Offline

#4 2008-07-31 10:27:23

finferflu
Forum Fellow
From: Manchester, UK
Registered: 2007-06-21
Posts: 1,899
Website

Re: [package] original drivemount applet for Gnome

I think it should conflict with the current version of drivemount, don't you think?


Have you Syued today?
Free music for free people! | Earthlings

"Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away." -- A. de Saint-Exupery

Offline

#5 2008-07-31 13:44:29

artiom
Member
From: France
Registered: 2008-07-29
Posts: 108

Re: [package] original drivemount applet for Gnome

No, it has a different name. I have both in my system.

Offline

Board footer

Powered by FluxBB