<h3>Building Packages for Arch Linux</h3>


<p>For more information on building Arch Packages, consult the <a href=\"http://wiki.archlinux.org/index.php/ABS_-_The_Arch_Build_System\">Arch Build System How-to</a> on the Arch Wiki. </p>

<p>The following is a sample PKGBUILD file for building MuSE.  Note, the source file was on my system, so I did not specify a url for the source and have the package build system pull the source down from the server.</p>

pkgname=MuSE<br />
pkgver=0.9.2<br />

pkgrel=1<br />
pkgdesc=\"MuSE is an application for the mixing, encoding, and network streaming of sound: it can mix up to 6 encoded audio bitstreams (from files or network, mp3 or ogg) plus a souncard input signal, the resulting stream can be played locally on the sound card and/or encoded at different bitrates, recorded to harddisk and/or streamed to the net. When sent to a server, the resulting audio can be listened thru the net by a vast number of players available on different operating systems.\"<br />
url=\"http://muse.dyne.org/\"<br />
license=\"gnu/gpl\"<br />
depends=(\'lame\' \'libogg\' \'libvorbis\' \'ncurses\' \'gtk\' \'libsndfile\')<br />
makedepends=()<br />
conflicts=()<br />
replaces=()<br />
backup=()<br />

install=<br />
source=($pkgname-$pkgver.tar.gz)<br />
md5sums=()<br />
<br />
build() {<br />
  cd $startdir/src/$pkgname-$pkgver<br />
  ./configure --prefix=/usr<br />
  make || return 1<br />

  make DESTDIR=$startdir/pkg install<br />
}<br />
