[arch-commits] Commit in three.js/repos/community-any (PKGBUILD PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Tue Dec 24 23:43:31 UTC 2019
Date: Tuesday, December 24, 2019 @ 23:43:30
Author: arojas
Revision: 540594
archrelease: copy trunk to community-any
Added:
three.js/repos/community-any/PKGBUILD
(from rev 540593, three.js/trunk/PKGBUILD)
Deleted:
three.js/repos/community-any/PKGBUILD
----------+
PKGBUILD | 46 +++++++++++++++++++++++-----------------------
1 file changed, 23 insertions(+), 23 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-12-24 23:43:16 UTC (rev 540593)
+++ PKGBUILD 2019-12-24 23:43:30 UTC (rev 540594)
@@ -1,23 +0,0 @@
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-
-pkgname=three.js
-pkgver=r112
-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=('6dc02f5aa8054fe7a806f429d16d32385896d0c521c5aa5d1113d05ae1f924fa')
-
-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
-
-# Fix version number
- sed -e "s|${pkgver}dev|${pkgver}|" -i "$pkgdir"/usr/share/threejs/build/*.js
-}
Copied: three.js/repos/community-any/PKGBUILD (from rev 540593, three.js/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-12-24 23:43:30 UTC (rev 540594)
@@ -0,0 +1,23 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=three.js
+pkgver=r112
+pkgrel=3
+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=('6dc02f5aa8054fe7a806f429d16d32385896d0c521c5aa5d1113d05ae1f924fa')
+
+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
+
+# Fix version number
+ sed -e "s|${pkgver/r/}dev|${pkgver/r/}|" -i "$pkgdir"/usr/share/threejs/build/*.js
+}
More information about the arch-commits
mailing list