[arch-commits] Commit in threejs-sage/repos (2 files)
Antonio Rojas
arojas at archlinux.org
Fri Jul 2 20:38:17 UTC 2021
Date: Friday, July 2, 2021 @ 20:38:17
Author: arojas
Revision: 970944
archrelease: copy trunk to community-staging-any
Added:
threejs-sage/repos/community-staging-any/
threejs-sage/repos/community-staging-any/PKGBUILD
(from rev 970943, threejs-sage/trunk/PKGBUILD)
----------+
PKGBUILD | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
Copied: threejs-sage/repos/community-staging-any/PKGBUILD (from rev 970943, threejs-sage/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2021-07-02 20:38:17 UTC (rev 970944)
@@ -0,0 +1,23 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=threejs-sage
+epoch=1
+pkgver=r124
+pkgrel=2
+pkgdesc='Custom build of Three.js for SageMath'
+url='https://threejs.org/'
+arch=(any)
+license=(MIT)
+depends=()
+conflicts=(three.js)
+provides=(three.js)
+source=(https://github.com/sagemath/threejs-sage/archive/$pkgver/$pkgname-$pkgver.tar.gz)
+sha256sums=('37e261d8947dc7db1a6cce87772d0e0fcfb5a7d78364e9bb1c9517d0dddcc6c4')
+
+package() {
+ cd $pkgname-$pkgver
+ install -Dm644 version -t "$pkgdir"/usr/share/threejs-sage
+ install -d "$pkgdir"/usr/share/threejs-sage/`cat version`
+ cp -r build "$pkgdir"/usr/share/threejs-sage/`cat version`
+ install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
+}
More information about the arch-commits
mailing list