[arch-commits] Commit in ditaa/repos/community-any (4 files)
Alexander Rødseth
arodseth at archlinux.org
Sun Jul 22 22:59:17 UTC 2018
Date: Sunday, July 22, 2018 @ 22:59:17
Author: arodseth
Revision: 362886
archrelease: copy trunk to community-any
Added:
ditaa/repos/community-any/PKGBUILD
(from rev 362885, ditaa/trunk/PKGBUILD)
ditaa/repos/community-any/ditaa.sh
(from rev 362885, ditaa/trunk/ditaa.sh)
Deleted:
ditaa/repos/community-any/PKGBUILD
ditaa/repos/community-any/ditaa.sh
----------+
PKGBUILD | 98 ++++++++++++++++++++++++++++++-------------------------------
ditaa.sh | 5 +--
2 files changed, 51 insertions(+), 52 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-07-22 22:59:04 UTC (rev 362885)
+++ PKGBUILD 2018-07-22 22:59:17 UTC (rev 362886)
@@ -1,49 +0,0 @@
-# $Id$
-# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
-# Contributor: Florian Pritz <bluewind at xinu.at>
-# Contributor: domanov <domanov at gmail.com>
-
-pkgname=ditaa
-pkgver=0.11.0
-pkgrel=1
-pkgdesc='Utility for converting ASCII art diagrams into bitmaps'
-arch=('any')
-url='https://github.com/stathissideris/ditaa'
-license=('GPL')
-depends=('gsfonts' 'java-environment>=8')
-makedepends=('apache-ant' 'git')
-source=("https://github.com/stathissideris/$pkgname/releases/download/v$pkgver/$pkgname-$pkgver-standalone.jar"
- "git+https://github.com/stathissideris/$pkgname#tag=v$pkgver"
- $pkgname.sh)
-sha256sums=('9418aa63ff6d89c5d2318396f59836e120e75bea7a5930c4d34aa10fe7a196a9'
- 'SKIP'
- '77f95a7c3235a1263b560844f988445083895550385bff1a4c28313b0767e38f')
-
-prepare() {
- local oldver="0_9"
- local shortver=${pkgver%.0}
- local underver=${shortver/./_}
- sed -i "s|$oldver|${shortver/./_}|" $pkgname/build/release.xml
- sed -i 's|1.6|1.8|g' $pkgname/build/release.xml
- sed -i "s|VERSION|$shortver|" $pkgname.sh
- mkdir -p $pkgname/{bin,lib}
- sed -i 's|</javac>|<compilerarg value="-Xlint:unchecked"/></javac>|g' $pkgname/build/release.xml
-}
-
-build() {
- cd "$pkgname"
-
- # TODO: Build with leiningen, after moving it from AUR to [community]
- #ant -buildfile build/release.xml release-jar
-}
-
-package() {
- local shortver=${pkgver%.0}
- install -Dm644 "$srcdir/$pkgname-$pkgver-standalone.jar" \
- "$pkgdir/usr/share/java/$pkgname/$pkgname-$shortver.jar"
- #install -Dm644 "$pkgname/releases/$pkgname$shortver.jar" \
- # "$pkgdir/usr/share/java/$pkgname/$pkgname-$shortver.jar"
- install -Dm755 $pkgname.sh "$pkgdir/usr/bin/$pkgname"
-}
-
-# vim: ts=2 sw=2 et:
Copied: ditaa/repos/community-any/PKGBUILD (from rev 362885, ditaa/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-07-22 22:59:17 UTC (rev 362886)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
+# Contributor: Florian Pritz <bluewind at xinu.at>
+# Contributor: domanov <domanov at gmail.com>
+
+pkgname=ditaa
+pkgver=0.11.0
+pkgrel=2
+pkgdesc='Utility for converting ASCII art diagrams into bitmaps'
+arch=('any')
+url='https://github.com/stathissideris/ditaa'
+license=('GPL')
+depends=('gsfonts' 'java-runtime')
+#makedepends=('apache-ant' 'git' 'java-environment')
+source=("https://github.com/stathissideris/$pkgname/releases/download/v$pkgver/$pkgname-$pkgver-standalone.jar"
+ $pkgname.sh)
+# "git+https://github.com/stathissideris/$pkgname#tag=v$pkgver"
+sha256sums=('9418aa63ff6d89c5d2318396f59836e120e75bea7a5930c4d34aa10fe7a196a9'
+ 'af6f599cf31f077f67a684e0e847cec3879f580d5e7492a37600af83391ef618')
+# 'SKIP'
+
+#prepare() {
+# local oldver="0_9"
+# local shortver=${pkgver%.0}
+# local underver=${shortver/./_}
+# sed -i "s|$oldver|${shortver/./_}|" $pkgname/build/release.xml
+# sed -i 's|1.6|1.8|g' $pkgname/build/release.xml
+# sed -i "s|VERSION|$shortver|" $pkgname.sh
+# mkdir -p $pkgname/{bin,lib}
+# sed -i 's|</javac>|<compilerarg value="-Xlint:unchecked"/></javac>|g' $pkgname/build/release.xml
+#}
+#
+#build() {
+# cd "$pkgname"
+#
+# # TODO: Build with leiningen, after moving it from AUR to [community]
+# #ant -buildfile build/release.xml release-jar
+#}
+
+package() {
+ local shortver=${pkgver%.0}
+ install -Dm644 "$srcdir/$pkgname-$pkgver-standalone.jar" \
+ "$pkgdir/usr/share/java/$pkgname/$pkgname-$shortver.jar"
+ #install -Dm644 "$pkgname/releases/$pkgname$shortver.jar" \
+ # "$pkgdir/usr/share/java/$pkgname/$pkgname-$shortver.jar"
+ install -Dm755 $pkgname.sh "$pkgdir/usr/bin/$pkgname"
+}
+
+# vim: ts=2 sw=2 et:
Deleted: ditaa.sh
===================================================================
--- ditaa.sh 2018-07-22 22:59:04 UTC (rev 362885)
+++ ditaa.sh 2018-07-22 22:59:17 UTC (rev 362886)
@@ -1,3 +0,0 @@
-#!/bin/sh
-DIR=/usr/share/java/ditaa
-${JAVA_HOME}/bin/java -jar $DIR/ditaa-VERSION.jar "$@"
Copied: ditaa/repos/community-any/ditaa.sh (from rev 362885, ditaa/trunk/ditaa.sh)
===================================================================
--- ditaa.sh (rev 0)
+++ ditaa.sh 2018-07-22 22:59:17 UTC (rev 362886)
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec /usr/bin/java -jar '/usr/share/java/ditaa/ditaa-VERSION.jar' "$@"
More information about the arch-commits
mailing list