You are not logged in.

#1 2007-12-17 16:25:31

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,896
Website

Winff

Hi,

http://biggmatt.com/winff/

Looking at rpm package .... may work under Arch

Have seen rpms loaded in PKGBUILDs not sure where to look for one?

ok ok I'm searchin' chill lol

MrG


Mr Green

Offline

#2 2007-12-17 19:35:41

pressh
Developer/TU
From: Netherlands
Registered: 2005-08-14
Posts: 1,719

Re: Winff

Mr Green wrote:

Have seen rpms loaded in PKGBUILDs not sure where to look for one?

ok ok I'm searchin' chill lol

MrG

just use

rpmextract.sh $sourcename.rpm

in the build{} part of your PKGBUILD, and then copy everything to the correct place in $startdir/pkg, or if it are only a couple of individual files you could use install -Dm644 (or similar depending on the file permissions).

An example would be http://aur.archlinux.org/packages/picas … l/PKGBUILD

Offline

#3 2007-12-18 19:04:53

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,896
Website

Re: Winff

# Contributor: mrgreen <mrgreen.linuxuser at gmail dot com>

pkgname=winff
pkgver=0.32.i386
pkgrel=1
pkgdesc=""
url="http://biggmatt.com"
license=('gpl')
conflicts=('')
provides=('')
depends=('')
makedepends=('rpmextract')
source=('http://biggmatt.com/files/winff-0-32-i386.rpm')
install=
options=('')
arch=('i686' 'x86_64')
md5sums=('8a2de4a418b93de04d48b089cb1db555')

build() {

  # extract the rpm
  rpmextract.sh winff-0-32-i386.rpm  
  
  # install some needed executables in /usr/bin
  install -Dm755 $startdir/src/usr/bin/winff $startdir/pkg/usr/bin/winff
  
  # install files into winff folder
  
  install -Dm755 $startdir/src/usr/share/winff/presets.xml $startdir/pkg/usr/share/winff/presets.xml
  install -Dm755 $startdir/src/usr/share/winff/winff.png $startdir/pkg/usr/share/winff/winff.png
  
  # Desktop files
  install -Dm644 $startdir/src/usr/share/applications/winff.desktop $startdir/pkg/usr/share/applications/winff.desktop


 
}

Ok this one works ... just needs checking out deps etc...

Last edited by Mr Green (2007-12-19 07:43:33)


Mr Green

Offline

#4 2007-12-18 21:19:18

pressh
Developer/TU
From: Netherlands
Registered: 2005-08-14
Posts: 1,719

Re: Winff

yes if there is a dir full of files you have to cp the dir to get it into $startdir/pkg/correct/place

though are you sure that all the .txt/changelog/pdf  files are needed in the  share/winff dir ? If not you may just use a couple of install commands, or you could copy over the whole dir and remove the files you copied over too much (the first one is preferred obviously if it does not increase the workload too much)

Offline

#5 2007-12-19 07:46:16

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,896
Website

Re: Winff

Right have updated PKGBUILD installed only two files into winff presets.xml &  winff.png

Added md5sum

basically its a gui wrapper for ffmpeg

Thanks man for your help :-)

MrG


Mr Green

Offline

Board footer

Powered by FluxBB