summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGraham Edgecombe2014-06-08 09:24:32 +0100
committerGraham Edgecombe2014-06-08 09:24:32 +0100
commited8bd3d3c584e8542c8cdfc19b04508626edd024 (patch)
tree74573f360b24010ff149c594a0e710eee728eaa3
downloadaur-ed8bd3d3c584e8542c8cdfc19b04508626edd024.tar.gz
Initial commit.
-rw-r--r--.SRCINFO19
-rw-r--r--.gitignore6
-rw-r--r--PKGBUILD31
-rwxr-xr-xsleeksnap2
-rw-r--r--sleeksnap.desktop9
5 files changed, 67 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..3cb58e1b48f
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+pkgbase = sleeksnap
+ pkgdesc = The user-friendly screenshot program
+ pkgver = 1.4.5
+ pkgrel = 1
+ url = http://sleeksnap.com/
+ arch = any
+ license = GPL3
+ makedepends = unzip
+ depends = java-runtime
+ noextract = Sleeksnap-f6238190.jar
+ source = http://cdn.probablyaserver.com/sleeksnap/Sleeksnap-f6238190.jar
+ source = sleeksnap
+ source = sleeksnap.desktop
+ md5sums = 2d118ab6328cb5d26c94f53478672cd3
+ md5sums = 142cfa8913ad1ab91f7638e4296367a4
+ md5sums = 99013580a98f44a5f9f634d916bac7d2
+
+pkgname = sleeksnap
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..20ed038d94d
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,6 @@
+/src
+/pkg
+*.jar
+*.pkg.tar.xz
+*.pkg.tar.xz.sig
+*.src.tar.gz
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..f208e6b6221
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer: Graham Edgecombe <graham@grahamedgecombe.com>
+pkgname=sleeksnap
+pkgver=1.4.5
+_gitsha=f6238190
+pkgrel=1
+pkgdesc='The user-friendly screenshot program'
+arch=('any')
+url='http://sleeksnap.com/'
+license=('GPL3')
+depends=('java-runtime')
+makedepends=('unzip')
+source=("http://cdn.probablyaserver.com/sleeksnap/Sleeksnap-${_gitsha}.jar"
+ 'sleeksnap'
+ 'sleeksnap.desktop')
+noextract=("Sleeksnap-${_gitsha}.jar")
+md5sums=('2d118ab6328cb5d26c94f53478672cd3'
+ '142cfa8913ad1ab91f7638e4296367a4'
+ '99013580a98f44a5f9f634d916bac7d2')
+
+build() {
+ cd "$srcdir"
+ unzip -j "Sleeksnap-${_gitsha}.jar" icon32x32.png
+}
+
+package() {
+ cd "$srcdir"
+ install -Dm755 "$srcdir/sleeksnap" "$pkgdir/usr/bin/sleeksnap"
+ install -Dm644 "Sleeksnap-${_gitsha}.jar" "$pkgdir/usr/share/java/sleeksnap/sleeksnap.jar"
+ install -Dm644 "$srcdir/sleeksnap.desktop" "$pkgdir/usr/share/applications/sleeksnap.desktop"
+ install -Dm644 icon32x32.png "$pkgdir/usr/share/pixmaps/sleeksnap.png"
+}
diff --git a/sleeksnap b/sleeksnap
new file mode 100755
index 00000000000..2d419af57e6
--- /dev/null
+++ b/sleeksnap
@@ -0,0 +1,2 @@
+#!/bin/sh -e
+exec java -jar /usr/share/java/sleeksnap/sleeksnap.jar $@
diff --git a/sleeksnap.desktop b/sleeksnap.desktop
new file mode 100644
index 00000000000..76987ab2aef
--- /dev/null
+++ b/sleeksnap.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Type=Application
+Version=1.0
+Name=Sleeksnap
+Comment=The user-friendly screenshot program
+Exec=sleeksnap
+Icon=/usr/share/pixmaps/sleeksnap.png
+Terminal=false
+Categories=Utility;