summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a9b1f689bf20b649cd6efc60c59edb963d1fc89d (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
# Contributor: Drew Liszewski <drew dot liszewski at gmail dot com>
# Maintainer: Christopher KOBAYASHI <software plus aur at disavowed dot jp>
pkgname=emulationstation-themes
pkgver=0.2
pkgrel=1
pkgdesc="EmulationStation themes pack"
arch=('any')
url="http://aloshi.com/emulationstation"
license=('WTFPL')
groups=()
makedepends=('git')
depends=()
install='emulationstation-themes.install'
source=('https://aloshi.com/es_downloads/es_themes_jan_20_2013.zip'
        'https://emulationstation.org/downloads/themes/simple_latest.zip'
	'git+https://github.com/RetroPie/es-theme-carbon-centered.git'
	'git+https://github.com/RetroPie/es-theme-carbon-nometa.git'
	'git+https://github.com/RetroPie/es-theme-clean-look.git'
	'git+https://github.com/RetroPie/es-theme-color-pi.git'
	'git+https://github.com/RetroPie/es-theme-simple-dark.git'
	'git+https://github.com/RetroPie/es-theme-simplified-static-canela.git'
	'git+https://github.com/RetroPie/es-theme-turtle-pi.git'
       )
noextract=('es_themes_jan_20_2013.zip')
sha256sums=('f6430cf382cbd9dbd17ef864ae47993d5c912c6a0023f8189d98809aebe49b79'
	    '567cc78d4aec1ef13893834c7e73c3eea91f50d096468c1ae40c973c502471ea'
	    'SKIP'
	    'SKIP'
	    'SKIP'
	    'SKIP'
	    'SKIP'
	    'SKIP'
	    'SKIP'
	   )

prepare() {
    mkdir -p xevin
    bsdtar -xf es_themes_jan_20_2013.zip -C xevin/
}

build() {
    rm -r -f ${srcdir}/*/.git*
}

package() {
    cd "${srcdir}"
    install -d ${pkgdir}/usr/share/EmulationStation/themes
    cp -r ${srcdir}/{simple,xevin} ${pkgdir}/usr/share/EmulationStation/themes/
    for i in carbon-centered carbon-nometa clean-look color-pi simple-dark \
	simplified-static-canela turtle-pi; do
	    cp -r ${srcdir}/es-theme-${i} \
		${pkgdir}/usr/share/EmulationStation/themes/${i}
    done
}