pkgname=sample-media
pkgver=1
pkgrel=5
pkgdesc="sample media for testing"
url=""
license="public domain"
depends=(media_dirs)
makedepends=()
conflicts=()
replaces=()
backup=()
install=sample.install
provides=("")
source=()
md5sums=()
arch=('i686')

build() {
cd $startdir/src/
mkdir -p  myth/music
mkdir -p  myth/gallery
mkdir -p  myth/video
mkdir -p  myth/games/snes/roms


cp -rp $startdir/audio/* myth/music
cp -rp $startdir/images/*  myth/gallery
cp -rp $startdir/video/* myth/video
cp -rp $startdir/rom/* myth/games/snes/roms

cd myth
chown -R mythtv media
chmod -R 777 media
cd $startdir/src
cp -rp myth $startdir/pkg/

}