archrelease: copy trunk to community-any
[arch-community.git] / threejs-sage / repos / community-any / PKGBUILD
blobe694cc3af49eceb238edc0063807a4c2031d4e33
1 # Maintainer: Antonio Rojas <arojas@archlinux.org>
3 pkgname=threejs-sage
4 epoch=1
5 pkgver=r124
6 pkgrel=3
7 pkgdesc='Custom build of Three.js for SageMath'
8 url='https://threejs.org/'
9 arch=(any)
10 license=(MIT)
11 depends=()
12 conflicts=(three.js)
13 provides=(three.js)
14 source=(https://github.com/sagemath/threejs-sage/archive/$pkgver/$pkgname-$pkgver.tar.gz)
15 sha256sums=('37e261d8947dc7db1a6cce87772d0e0fcfb5a7d78364e9bb1c9517d0dddcc6c4')
17 package() {
18   cd $pkgname-$pkgver
19   install -Dm644 version -t "$pkgdir"/usr/share/threejs-sage
20   install -Dm644 build/* -t "$pkgdir"/usr/share/threejs-sage/`cat version`
21   install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname