summaryrefslogtreecommitdiffstats
path: root/abs/extra/sample-media/PKGBUILD
blob: 9851899e5bcf281cc78df9ad3e9566bf741669d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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/

}