1
0
mirror of https://github.com/bertptrs/aur.git synced 2025-12-25 20:40:32 +01:00

Compare commits

...

13 Commits

Author SHA1 Message Date
c3912014e0 upgpkg: python-plotly 5.8.0-2
Upstream replaced tag
2022-05-10 22:45:39 +02:00
8d0524a979 upgpkg: trang 20220510-1
upstream release
2022-05-10 22:36:28 +02:00
59098fa1df Add 'trang/' from commit 'fa9bc4938a9c12c8126d8e039693cfdf35d61d1a'
git-subtree-dir: trang
git-subtree-mainline: 5b6dd89d27
git-subtree-split: fa9bc4938a
2022-05-10 22:32:39 +02:00
fa9bc4938a Update to v20181222. 2018-12-22 05:58:55 +01:00
9187b774e5 Error in .SRCINFO. 2018-12-04 23:57:07 +01:00
c6941cabbd Update to V20181204.
Upstream overhauled part of their repository, making it harder to build
from a tarbal. (need to deal with git submodules)

However, they do ship sha1sums and gpg signatures now, so we use those.
2018-12-04 23:55:18 +01:00
d59192ed43 Fix typo. 2018-01-24 14:31:14 +01:00
ddc0d7b2c4 Repackage according to the guidelines.
- Implement check()
- Move jar files to specific directory
- Depend on the most broad meta packages
2018-01-24 14:27:51 +01:00
d92a3c7c04 Set arch to any, since it's just java. 2018-01-23 09:37:21 +01:00
2a3ddb4e76 Update to 20151127. 2018-01-21 12:34:18 +01:00
ShadowKyogre
d561f6facc Update to 20131210 2016-04-04 12:50:34 -07:00
ShadowKyogre
6472bf098c Simplify depends and turn build() to package() 2015-10-07 21:36:31 -07:00
ShadowKyogre
884226509e Export from AUR3 to AUR4 2015-08-13 11:31:02 -07:00
5 changed files with 68 additions and 4 deletions

View File

@@ -1,7 +1,7 @@
pkgbase = python-plotly
pkgdesc = An open-source, interactive graphing library
pkgver = 5.8.0
pkgrel = 1
pkgrel = 2
url = https://github.com/plotly/plotly.py
arch = any
license = MIT
@@ -20,6 +20,6 @@ pkgbase = python-plotly
optdepends = python-pillow
optdepends = python-scipy
source = python-plotly-5.8.0.tar.gz::https://github.com/plotly/plotly.py/archive/v5.8.0.tar.gz
sha256sums = cd69a4dda3ae934643b4b2c614d997b0a34f18432964f454107f2dd5eae5bf46
sha256sums = 00e8261f61a910ed561866210d7c6567045df80f7b2e3cf59617c20bad861d6e
pkgname = python-plotly

View File

@@ -3,7 +3,7 @@
pkgname=python-plotly
pkgver=5.8.0
pkgrel=1
pkgrel=2
pkgdesc="An open-source, interactive graphing library"
url="https://github.com/plotly/plotly.py"
depends=(python
@@ -25,7 +25,7 @@ npm)
license=('MIT')
arch=('any')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/plotly/plotly.py/archive/v${pkgver}.tar.gz")
sha256sums=('cd69a4dda3ae934643b4b2c614d997b0a34f18432964f454107f2dd5eae5bf46')
sha256sums=('00e8261f61a910ed561866210d7c6567045df80f7b2e3cf59617c20bad861d6e')
build() {
cd plotly.py-${pkgver}/packages/python/plotly

18
trang/.SRCINFO Normal file
View File

@@ -0,0 +1,18 @@
pkgbase = trang
pkgdesc = Converts between different schema languages for XML
pkgver = 20220510
pkgrel = 1
url = https://github.com/relaxng/jing-trang
arch = any
license = custom
depends = java-runtime
depends = bash
source = https://github.com/relaxng/jing-trang/releases/download/V20220510/trang-20220510.zip
source = https://github.com/relaxng/jing-trang/releases/download/V20220510/trang-20220510.zip.asc
source = trang
validpgpkeys = D4875856415E63964D87445187D17477BC3A4B95
sha1sums = 386d43b5c141c27bcc3bd44ccb91fe209aedaa16
sha1sums = SKIP
sha1sums = 12e0dc12ff808162eb8bcedde3b55b3e5ea4119a
pkgname = trang

31
trang/PKGBUILD Normal file
View File

@@ -0,0 +1,31 @@
# Maintainer: Bert Peters <bert@bertptrs.nl>
# Previously: Jonathan Schaeffer <Joschaeffer@gmail.com>
pkgname=trang
_pkgname=jing-trang
pkgver=20220510
pkgrel=1
pkgdesc="Converts between different schema languages for XML"
url="https://github.com/relaxng/jing-trang"
arch=('any')
license=('custom')
depends=(java-runtime bash)
validpgpkeys=('D4875856415E63964D87445187D17477BC3A4B95')
source=(
"https://github.com/relaxng/${_pkgname}/releases/download/V${pkgver}/${pkgname}-${pkgver}.zip"{,.asc}
trang
)
# Upstream provides sha1sums, so that's what we use.
sha1sums=('386d43b5c141c27bcc3bd44ccb91fe209aedaa16'
'SKIP'
'12e0dc12ff808162eb8bcedde3b55b3e5ea4119a')
package() {
cd "$srcdir/${pkgname}-${pkgver}"
install -D -m644 trang.jar "${pkgdir}/usr/share/java/${pkgname}/trang.jar"
install -D -m644 copying.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
install -D -m644 trang-manual.html "${pkgdir}/usr/share/doc/${pkgname}/trang-manual.html"
install -D -m755 "${srcdir}/trang" "${pkgdir}/usr/bin/trang"
}

15
trang/trang Normal file
View File

@@ -0,0 +1,15 @@
#!/bin/sh
if [ "$1" = "classpath" ]
then
CLASSPATH="$2"
shift 2
fi
JAVACLASSES=/usr/share/java/trang
CLASSPATH="${CLASSPATH:-.}:$JAVACLASSES/trang.jar"
export CLASSPATH
exec java com.thaiopensource.relaxng.translate.Driver "$@"