# Maintainer: fauno <fauno@kiwwwi.com.ar>

pkgname=trisquel-themes
pkgver=8.0
_extraver=
_miniver=
pkgrel=1
pkgdesc="Themes from Trisquel, including GTK2, Metacity, XFWM and Openbox themes"
arch=('any')
url=http://trisquel.info
license=('GPL')
optdepends=('gtk-engine-equinox: for Trisquel GTK2 theme')
source=(http://archive.trisquel.info/trisquel/pool/main/t/trisquel-gtk-theme/trisquel-gtk-theme_${pkgver}${_extraver}.tar.gz
        http://archive.trisquel.info/trisquel/pool/main/t/trisquel-mini-data/trisquel-mini-data_${pkgver}${_miniver}.tar.gz)
sha256sums=('f3ad77c450156f9c3814b1eb948b643cf4a10bcac4850e4a930db7462acd7f1d'
            '7a5e292c842e0f7709827683a58f29fcf38556bb2018e5df84f6a9c8027e3a09')

package() {
	install -d ${pkgdir}/usr/share/themes

    for trisquelsrc in trisquel-gtk-theme/data trisquel-mini-data; do
	    cp -R ${srcdir}/${trisquelsrc}/usr/share/themes/* \
              ${pkgdir}/usr/share/themes/
    done
}
