You are not logged in.

#1 2007-03-22 21:40:25

intsarts
Member
From: Viljandi, Estonia
Registered: 2006-05-18
Posts: 31
Website

libsharedmime

Hi, i'm looking for somone who could waste some time to make a libsharedmime package, homepage is here:
http://www.memecode.com/libsharedmime.php

This package is not so easy as something else. there's no configure script and in makefile you must replace BUILD = Debug to BUILD = Release. I've got stopped at building, it built these two files in /usr/local/lib and /usr/local/include instead of building dir. But that's ok, i made first time my pkgbuild ^^


Mmm... Doughnuts....

Offline

#2 2007-03-23 10:27:33

fancris3
Member
Registered: 2007-03-18
Posts: 67

Re: libsharedmime

Maibe like this:

# Contributor: fancris3 <fancris3 at aol.com>
pkgname=libsharedmime
pkgver=0.5
pkgrel=1
pkgdesc="is intended to be an alternative to the GPL version of the library written by freedesktop.org"
arch=(i686)
url="http://www.memecode.com/libsharedmime.php"
source=(http://www.memecode.com/src/$pkgname-$pkgver.tar.bz2)
license=('GPL')
depends=('glibc')
md5sums=(5f561b51e42b1719955447f21eb715b2)

build() {
  cd ${startdir}/src/${pkgname}

  sed -i "s|= Debug|= Release|g" makefile
  sed -i "s|/usr/local/lib|$startdir/pkg/usr/lib|g" makefile
  sed -i "s|/usr/local/include|$startdir/pkg/usr/include|g" makefile
  mkdir -p $startdir/pkg/usr/lib
  mkdir -p $startdir/pkg/usr/include

  make || return 1
  make DESTDIR=$startdir/pkg install
}

Last edited by fancris3 (2007-03-23 10:31:18)

Offline

#3 2007-03-23 10:46:50

intsarts
Member
From: Viljandi, Estonia
Registered: 2006-05-18
Posts: 31
Website

Re: libsharedmime

Awesome, thnx. It works!
if there isn't anything stopping, then you can send it to aur?

Last edited by intsarts (2007-03-23 10:47:19)


Mmm... Doughnuts....

Offline

#4 2007-03-24 10:31:16

fancris3
Member
Registered: 2007-03-18
Posts: 67

Re: libsharedmime

Is for you.If you like please take it, change, send in aur.
Thanks

Offline

Board footer

Powered by FluxBB