summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorGraham Edgecombe2014-06-08 09:24:32 +0100
committerGraham Edgecombe2014-06-08 09:24:32 +0100
commited8bd3d3c584e8542c8cdfc19b04508626edd024 (patch)
tree74573f360b24010ff149c594a0e710eee728eaa3 /PKGBUILD
downloadaur-ed8bd3d3c584e8542c8cdfc19b04508626edd024.tar.gz
Initial commit.
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD31
1 files changed, 31 insertions, 0 deletions
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"
+}