summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorgraysky2016-06-19 17:55:44 -0400
committergraysky2016-06-19 17:55:44 -0400
commitadac6fee35bfc6c04e1c0a16511a0e0b250cae0a (patch)
treef3eed750194b97386f698e2a93e9f2adeffedcb7
downloadaur-adac6fee35bfc6c04e1c0a16511a0e0b250cae0a.tar.gz
useful commit message
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD36
-rw-r--r--jalbum.desktop11
-rw-r--r--jalbum.sh2
4 files changed, 67 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..421f0859ab3
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = jalbum
+ pkgdesc = free web photo album software and photo gallery software
+ pkgver = 13.2
+ pkgrel = 1
+ url = http://jalbum.net/
+ arch = any
+ license = custom
+ license = lgpl
+ depends = jre8-openjdk
+ source = http://download.jalbum.net/download/13.2/jAlbum.zip
+ source = jalbum.desktop
+ source = jalbum.sh
+ sha256sums = 2eb97c55d6a1cc686f8f94e1e0c88a2cf3239544e9d362e0a1f76afedefd31fe
+ sha256sums = 9679ab294b5c5e0ad343b8a12026073fd2f622320d636cc05facaa2ff5b15825
+ sha256sums = f4aec4248de127251fc32571732e91fd860f1954c650650a965bf77759cd85fc
+
+pkgname = jalbum
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..dda35aca3b4
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,36 @@
+# Maintainer: graysky <graysky AT archlinux DOT us>
+
+pkgname=jalbum
+_basedir=/usr/lib/$pkgname
+pkgver=13.2
+pkgrel=1
+pkgdesc="free web photo album software and photo gallery software"
+arch=('any')
+url="http://jalbum.net/"
+license=('custom' 'lgpl')
+depends=('jre8-openjdk')
+source=("http://download.jalbum.net/download/$pkgver/${pkgname/a/A}.zip"
+"$pkgname.desktop"
+"$pkgname.sh")
+
+sha256sums=('2eb97c55d6a1cc686f8f94e1e0c88a2cf3239544e9d362e0a1f76afedefd31fe'
+ '9679ab294b5c5e0ad343b8a12026073fd2f622320d636cc05facaa2ff5b15825'
+ 'f4aec4248de127251fc32571732e91fd860f1954c650650a965bf77759cd85fc')
+
+package() {
+ install -Dm644 "$srcdir/jalbum.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
+ install -Dm755 "$srcdir/jalbum.sh" "$pkgdir/usr/bin/jalbum"
+
+ install -dm755 "$pkgdir/usr/lib"
+ install -dm755 "$pkgdir/usr/share/licenses"
+ install -dm755 "$pkgdir/usr/share/pixmaps"
+
+ # install files
+ cp -a "${pkgname/a/A}" "$pkgdir/$_basedir"
+
+ # remove windows specific stuff
+ find $pkgdir \( -name "*.bat" -o -name "*.cmd" -o -name "*.dll" -o -name "compile.sh" \) -delete
+
+ mv "$pkgdir/$_basedir/license" "$pkgdir/usr/share/licenses/$pkgname"
+ ln -s "$_basedir/icons/JalbumApp48.png" "$pkgdir/usr/share/pixmaps/jalbum.png"
+}
diff --git a/jalbum.desktop b/jalbum.desktop
new file mode 100644
index 00000000000..1be5611c739
--- /dev/null
+++ b/jalbum.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Version=1.0
+Type=Application
+Terminal=false
+Name=jAlbum
+Comment=Make web photo albums with thumbnail pages and slide shows
+Exec=/usr/lib/jvm/java-8-openjdk/jre/bin/java -Xmx1200m -DuseDesktop=true -jar /usr/lib/jalbum/JAlbum.jar
+Path=/usr/lib/jalbum/
+Icon=/usr/lib/jalbum/icons/JalbumApp48.png
+Categories=Graphics;Java
+MimeType=application/x-jalbum-jaskin;application/x-extension-jap;application/x-extension-jaskin;application/x-extension-jaextension
diff --git a/jalbum.sh b/jalbum.sh
new file mode 100644
index 00000000000..36dcecc5e1b
--- /dev/null
+++ b/jalbum.sh
@@ -0,0 +1,2 @@
+#!/bin/sh
+java -Xmx1200m -DuseDesktop=true -jar /usr/lib/jalbum/JAlbum.jar