[arch-commits] Commit in three.js (3 files)

Antonio Rojas arojas at archlinux.org
Thu Feb 2 22:25:19 UTC 2017


    Date: Thursday, February 2, 2017 @ 22:25:19
  Author: arojas
Revision: 209733

archrelease: copy trunk to community-any

Added:
  three.js/repos/
  three.js/repos/community-any/
  three.js/repos/community-any/PKGBUILD
    (from rev 209732, three.js/trunk/PKGBUILD)

----------+
 PKGBUILD |   21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

Copied: three.js/repos/community-any/PKGBUILD (from rev 209732, three.js/trunk/PKGBUILD)
===================================================================
--- repos/community-any/PKGBUILD	                        (rev 0)
+++ repos/community-any/PKGBUILD	2017-02-02 22:25:19 UTC (rev 209733)
@@ -0,0 +1,21 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=three.js
+pkgver=r84
+pkgrel=1
+pkgdesc='A JavaScript 3D Library which makes WebGL simpler'
+url='https://threejs.org/'
+arch=(any)
+license=(MIT)
+depends=()
+source=("$pkgname-$pkgver.tar.gz::https://github.com/mrdoob/three.js/archive/$pkgver.tar.gz")
+sha256sums=('c3667ec7f4ef4281ce2f212131067557a48240644d1151d8097e5e0879ac957f')
+
+package() {
+  cd $pkgname-$pkgver
+  mkdir -p "$pkgdir"/usr/share/threejs
+  install -Dm644 build/*.js "$pkgdir"/usr/share/threejs/
+# Needed by sagemath
+  install -Dm644 examples/js/controls/OrbitControls.js "$pkgdir"/usr/share/threejs/
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list