summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/LinHES-system/PKGBUILD
blob: 5616746395c15879362c798cfc1b63100f2bb074 (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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
pkgname=LinHES-system
pkgver=1.1
pkgrel=9
arch=('i686')
MVDIR=$startdir/pkg/usr/LH
BINDIR=$startdir/pkg/usr/bin
install=LinHES.install
pkgdesc="scripts and things related to having a automated system"
depends=(linhes-sounds xdotool)
backup=(etc/modprobe.d/alsa-base)
binfiles="LinHES-start optimize_mythdb.py myth_mtc.py myth_mtc.sh LinHES-run firstboot.sh load-modules-mythvantage.sh unclutter-toggle.sh myth_mtc.lr smolt.cron "

source=(LinHES-session LinHES-profile.sh $binfiles alsa-base)

build() {
        cd $startdir/src
        install -m755 -D LinHES-session $startdir/pkg/etc/X11/Sessions/LinHES
	install -m755 -D LinHES-profile.sh $startdir/pkg/etc/profile.d/LinHES-profile.sh
####### install to /usr/LH/bin
#mkdir -p $BINDIR

for i in $binfiles
do
	item=$i
	install -m755 -D $item $MVDIR/bin/$item
	echo $item

done

cd $startdir/bin
for i in *
do
	item=$i
	install -m755 -D $item $MVDIR/bin/$item
	echo $item

done	
install -m755 -D $startdir/src/alsa-base $startdir/pkg/etc/modprobe.d/alsa-base
install -m755 -D $startdir/src/smolt.cron $startdir/pkg/etc/cron.weekly/smolt.cron
mkdir $startdir/pkg/etc/logrotate.d
cp $startdir/myth_mtc.lr $startdir/pkg/etc/logrotate.d
}


md5sums=('19934a456d0e112298b8aac3279f9a16'
         '5881bdb43d578ec3a79d1f77ea58a3db'
         'a875ee97f86e46f34a741c2bc455f894'
         'cdcbc530224215f8fcf7ebcd93d7eb0b'
         'c60b6c66f498809a6e5ca18a8c97d336'
         'ccae1296ef248fa52ec3a7cb820a476e'
         '6112f32c48763a057341ccfb18d2375a'
         '18a884a73344ff6eb74f63b49745e0f5'
         'dc3eef2a624754e16805d72bbe488b67'
         '72eb4117bb7d523691233c40e7535752'
         'f1870a9522c79e6b248fcbf81dec3280'
         '90a5d903e11e8bb457855d2ffd657e1e'
         'eb879fee9603a05d5420d4ce8ed9e450')
md5sums=('19934a456d0e112298b8aac3279f9a16'
         '5881bdb43d578ec3a79d1f77ea58a3db'
         'a875ee97f86e46f34a741c2bc455f894'
         'cdcbc530224215f8fcf7ebcd93d7eb0b'
         'c60b6c66f498809a6e5ca18a8c97d336'
         'ccae1296ef248fa52ec3a7cb820a476e'
         '6112f32c48763a057341ccfb18d2375a'
         '18a884a73344ff6eb74f63b49745e0f5'
         'dc3eef2a624754e16805d72bbe488b67'
         '72eb4117bb7d523691233c40e7535752'
         'f1870a9522c79e6b248fcbf81dec3280'
         'f891f01eac77a1a9cd3d638c28ae4b3a'
         'eb879fee9603a05d5420d4ce8ed9e450')
md5sums=('19934a456d0e112298b8aac3279f9a16'
         '5881bdb43d578ec3a79d1f77ea58a3db'
         'a875ee97f86e46f34a741c2bc455f894'
         'cdcbc530224215f8fcf7ebcd93d7eb0b'
         'c60b6c66f498809a6e5ca18a8c97d336'
         'ccae1296ef248fa52ec3a7cb820a476e'
         '6112f32c48763a057341ccfb18d2375a'
         '18a884a73344ff6eb74f63b49745e0f5'
         'dc3eef2a624754e16805d72bbe488b67'
         '72eb4117bb7d523691233c40e7535752'
         'f1870a9522c79e6b248fcbf81dec3280'
         'abe887472a170bd1a8e6da6a7b7e93e4'
         'eb879fee9603a05d5420d4ce8ed9e450')