You are not logged in.
Pages: 1
Hi,
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
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
# 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
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
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
Pages: 1