129 :: Building Packages for Arch Linux
Hosted by Dann on Thursday, 2006-08-03 is flagged as Explicit and is released under a CC-BY-NC-SA license.
.
Listen in mp3 format. Play now:
Duration: 00:25:32
general.
Building Packages for Arch Linux
For more information on building Arch Packages, consult the Arch Build System How-to on the Arch Wiki.
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.
pkgname=MuSEpkgver=0.9.2
pkgrel=1
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.\"
url=\"http://muse.dyne.org/\"
license=\"gnu/gpl\"
depends=(\'lame\' \'libogg\' \'libvorbis\' \'ncurses\' \'gtk\' \'libsndfile\')
makedepends=()
conflicts=()
replaces=()
backup=()
install=
source=($pkgname-$pkgver.tar.gz)
md5sums=()
build() {
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/usr
make || return 1
make DESTDIR=$startdir/pkg install
}