[arch-commits] Commit in three.js/repos/community-any (PKGBUILD PKGBUILD)

Antonio Rojas arojas at archlinux.org
Wed Jul 3 20:53:57 UTC 2019


    Date: Wednesday, July 3, 2019 @ 20:53:57
  Author: arojas
Revision: 487373

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-07-03 20:53:36 UTC (rev 487372)
+++ PKGBUILD	2019-07-03 20:53:57 UTC (rev 487373)
@@ -1,21 +0,0 @@
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-
-pkgname=three.js
-pkgver=r106
-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=('9d751ad4585ed7f27649c4b5badcf016942ef3ace081fab5d21ed8680a6be8d5')
-
-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
-}

Copied: three.js/repos/community-any/PKGBUILD (from rev 487372, three.js/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-07-03 20:53:57 UTC (rev 487373)
@@ -0,0 +1,20 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=three.js
+pkgver=r106
+pkgrel=2
+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=('9d751ad4585ed7f27649c4b5badcf016942ef3ace081fab5d21ed8680a6be8d5')
+
+package() {
+  cd $pkgname-$pkgver
+  mkdir -p "$pkgdir"/usr/share/threejs/examples
+  cp -r build "$pkgdir"/usr/share/threejs/
+  cp -r examples/js "$pkgdir"/usr/share/threejs/examples
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}


More information about the arch-commits mailing list