You are not logged in.

#1 2010-05-18 15:03:54

cool
Member
Registered: 2008-09-12
Posts: 111
Website

PKGBUILD for UnixBench - the benchmarking tool

Hi,
Trying to make PKGBUILD for Unixbench. this what I have reached till now.

#Contributor: Gaurish Sharma <my email>
pkgname=unixbench
pkgver=5.1.2
pkgrel=1
pkgdesc="The purpose of UnixBench is to provide a basic indicator of the performance of a Unix-like system."
arch=('i686' 'x86_64')
license=('GPL')
url="http://code.google.com/p/byte-unixbench/"
depends=('libxext' 'mesa' 'perl')
makedepends=('make' 'gcc')
source=(http://byte-unixbench.googlecode.com/files/${pkgname}-${pkgver}.tar.gz)
md5sums=('10edef9af6ad29770437d0b39828218d')
build() {
          cd $srcdir/$pkgname-$pkgver
               #what to do next????

          }

without Makepkg, it you need do a 'make' and then type './Run'. that's it.
But I can't figure the same without makepkg.

Last edited by cool (2010-05-18 15:05:22)

Offline

#2 2010-05-18 15:25:27

evr
Arch Linux f@h Team Member
Registered: 2009-01-23
Posts: 554

Re: PKGBUILD for UnixBench - the benchmarking tool

i suggest taking a look at this http://wiki.archlinux.org/index.php/Creating_Packages

but i would guess (without actually looking at the package) that you would need to put something like

make || return 1
install ./Run $pkgdir/usr/bin/unixbench || return 1

or wherever you want it installed.

Offline

Board footer

Powered by FluxBB