1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Maintainer: Leo von Klenze <[email protected]>
pkgname=dijit
pkgver=1.7.2
pkgrel=1
pkgdesc="Skinnable, template-driven widgets with accessibility and localization built right in—the way you want it."
arch=(i686 x86_64)
url="http://www.dojotoolkit.org"
license=('BSD' 'Academic Free License')
depends=('dojo')
source=(http://download.dojotoolkit.org/release-$pkgver/dojo-release-$pkgver.tar.gz)
md5sums=('838e7ab3ab44ecc6410a1f98bddec856')

install_dir='usr/share/javascript/dojotoolkit'

build() {
    mkdir -p $pkgdir/$install_dir
    cd $srcdir/dojo-release-$pkgver || return 1 

    find $pkgname -type f | while read file; do
        install -Dm644 "$file" "$pkgdir/$install_dir/$file" || return 1
    done || return 1
}