summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4aa2cb7a8a298f2e02dc09ea41692df6aa8072ab (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
# Maintainer: GordonGR <ntheo1979@gmail.com>

pkgname=singularityviewer-skins-git
_gitname=SingularityViewer
pkgver=1.8.6.710.g684ab3e
pkgrel=1
pkgdesc="Extra skins for Singularity (and any other V1-type viewers) for Second Life (secondlife) and OpenSim (opensimulator)."
url="http://github.com/singularity-viewer/SingularityViewer/tree/master/indra/newview/skins"
license=('GPL')
depends=('singularityviewer')
provides=('singularityviewer-skins')
conflicts=('singularityviewer-skins')
arch=('any')

source=('git://github.com/singularity-viewer/SingularityViewer.git')
md5sums=('SKIP')


pkgver() {
cd $_gitname
git describe --always | sed 's|-|.|g'
# echo $(git rev-list --count master).$(git rev-parse --short master)
}

package() {
cd "$_gitname"
cd indra/newview/skins
rm -rf {default,dark}
rm -rf {dark,Default,paths}.xml

mkdir -p $pkgdir/opt/singularityviewer/skins
cp -R * $pkgdir/opt/singularityviewer/skins/

}