# This is an example PKGBUILD file. Use this as a start to creating your own,
# and remove these comments. For more information, see 'man PKGBUILD'.
# NOTE: Please fill out the license field for your package! If it is unknown,
# then please put 'unknown'.

# Maintainer: Christoffer Müller Madsen <christoffer.m.madsen@thedevcave.net>
pkgname=pcs
pkgver=8.4_a6le
pkgrel=1
epoch=
pkgdesc=""
arch=('x86_64')
url="http://www.scheme.com"
license=('')
groups=()
depends=()
makedepends=()
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=("$pkgname-${pkgver//_/-}.tar.gz")
noextract=()
md5sums=()
validpgpkeys=()

prepare() {
	cd "${pkgname}v$pkgver"
}

build() {
	cd "${pkgname}v$pkgver"
	./configure --prefix=/usr
	make
}

check() {
	cd "${pkgname}v$pkgver"
	make -k check
}

package() {
	cd "${pkgname}v$pkgver"
	make DESTDIR="$pkgdir/" install
}