summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaimar Bühmann2017-09-30 22:32:36 +0200
committerRaimar Bühmann2017-09-30 22:32:36 +0200
commitde989d3d4f0b7af4bc4e7fe5e8fb0e38972659d3 (patch)
tree136ff6457dda01f1c010f20ef9dec29992efaacd
parent0daf713856d7c729cf8b3e48c04479d44a02c425 (diff)
downloadaur-origami-editor-3d.tar.gz
do not extract jar and use icon from current folder
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD12
2 files changed, 7 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2fcf5cbf2dd..fb67a72db4b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,13 +1,14 @@
pkgbase = origami-editor-3d
pkgdesc = Virtual paper folding program
pkgver = 1.3.5
- pkgrel = 1
+ pkgrel = 2
url = https://sourceforge.net/projects/origamieditor3d/
arch = any
license = GPL3
depends = bash
depends = java-environment
depends = hicolor-icon-theme
+ noextract = OrigamiEditor3D.jar
options = !strip
source = http://downloads.sourceforge.net/project/origamieditor3d/v1.3.5/OrigamiEditor3D.jar
source = origami-editor-3d
diff --git a/PKGBUILD b/PKGBUILD
index bcd0e6fe874..606bcaec60b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,21 +3,19 @@
pkgname=origami-editor-3d
pkgver=1.3.5
_buildtime=1506780703
-pkgrel=1
+pkgrel=2
pkgdesc="Virtual paper folding program"
arch=('any')
url="https://sourceforge.net/projects/origamieditor3d/"
license=('GPL3')
depends=('bash' 'java-environment' 'hicolor-icon-theme')
options=('!strip')
-# https://downloads.sourceforge.net/project/origamieditor3d/v1.3.5/OrigamiEditor3D.jar?r=https%3A%2F%2Fsourceforge.net%2Fprojects%2Forigamieditor3d%2F&ts=1506780703&use_mirror=netix
-# https://downloads.sourceforge.net/project/origamieditor3d/v1.3.5/OrigamiEditor3D.jar?r=https%3A%2F%2Fsourceforge.net%2Fprojects%2Forigamieditor3d%2Ffiles%2Fv1.3.5%2F&ts=1506781254&use_mirror=netix
-# http://sourceforge.net/projects/eclipse-cs/files/latest/download?source=files
source=("http://downloads.sourceforge.net/project/origamieditor3d/v${pkgver}/OrigamiEditor3D.jar"
$pkgname
$pkgname-icon.png
$pkgname.desktop
)
+noextract=('OrigamiEditor3D.jar')
sha256sums=('42120355abe26e540cc2cb6e5c3f66136d331499e740024b55ca7cd7c521a98e'
'1d9cbfa2c678c156b4a49ae7d4f1a6fd2ccaca7e9d9544aeb62443eb80aab2bb'
'681efe397e4e6581425c15d1afdc099b7f814743b131516fb6c25cb85229d052'
@@ -25,9 +23,9 @@ sha256sums=('42120355abe26e540cc2cb6e5c3f66136d331499e740024b55ca7cd7c521a98e'
package() {
# icon, starter shell script, desktop menu entry
- install -Dm644 ../$pkgname-icon.png $pkgdir/usr/share/icons/hicolor/48x48/apps/$pkgname-icon.png
- install -Dm755 ../$pkgname $pkgdir/usr/bin/$pkgname
- install -Dm644 ../$pkgname.desktop $pkgdir/usr/share/applications/$pkgname.desktop
+ install -Dm644 $pkgname-icon.png $pkgdir/usr/share/icons/hicolor/48x48/apps/$pkgname-icon.png
+ install -Dm755 $pkgname $pkgdir/usr/bin/$pkgname
+ install -Dm644 $pkgname.desktop $pkgdir/usr/share/applications/$pkgname.desktop
install -Dm644 OrigamiEditor3D.jar $pkgdir/usr/lib/${pkgname}/OrigamiEditor3D.jar
}