summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorLev Lybin2015-06-11 22:47:25 +0700
committerLev Lybin2015-06-11 22:47:25 +0700
commit499cdd38520833dd2db1d8dd9baeffbd08d1cde0 (patch)
tree9977ad382f40f24b203f4ec35b4f085c640be502
downloadaur-499cdd38520833dd2db1d8dd9baeffbd08d1cde0.tar.gz
Initial import
-rw-r--r--.SRCINFO29
-rw-r--r--PKGBUILD26
-rw-r--r--screencloud.install11
3 files changed, 66 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..13e81e94ae5
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,29 @@
+pkgbase = screencloud
+ pkgdesc = Easy to use screenshot sharing application.
+ pkgver = 1.2.0
+ pkgrel = 2
+ url = http://screencloud.net
+ install = screencloud.install
+ arch = i686
+ arch = x86_64
+ license = GPL2
+ depends = quazip
+ depends = libqxt
+ depends = python2
+ optdepends = python2-crypto: required for SFTP support
+ options = strip
+ options = docs
+ options = libtool
+ options = staticlibs
+ options = emptydirs
+ options = zipman
+ options = purge
+ options = !upx
+ options = !debug
+ source_i686 = screencloud-1.2.0-1-32.pkg.tar.xz::http://download.opensuse.org/repositories/home:/olav-st/Arch_Extra/i686/screencloud-1.2.0-1-i686.pkg.tar.xz
+ sha256sums_i686 = SKIP
+ source_x86_64 = screencloud-1.2.0-1-64.pkg.tar.xz::http://download.opensuse.org/repositories/home:/olav-st/Arch_Extra/x86_64/screencloud-1.2.0-1-x86_64.pkg.tar.xz
+ sha256sums_x86_64 = SKIP
+
+pkgname = screencloud
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..20674ebc7e5
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: Lev Lybin <lev.lybin@gmail.com>
+# Contributor: Lev Lybin <lev.lybin@gmail.com>
+
+pkgname=screencloud
+pkgver=1.2.0
+pkgrel=2
+_pkgrealrel=1
+pkgdesc="Easy to use screenshot sharing application."
+arch=('i686' 'x86_64')
+url="http://screencloud.net"
+license=('GPL2')
+depends=('quazip' 'libqxt' 'python2')
+optdepends=('python2-crypto: required for SFTP support')
+options=('strip' 'docs' 'libtool' 'staticlibs' 'emptydirs' 'zipman' 'purge' '!upx' '!debug')
+install=screencloud.install
+source_x86_64=(${pkgname}-${pkgver}-${_pkgrealrel}-64.pkg.tar.xz::http://download.opensuse.org/repositories/home:/olav-st/Arch_Extra/x86_64/${pkgname}-${pkgver}-${_pkgrealrel}-x86_64.pkg.tar.xz)
+# Skips validation because package updated, but version not changed. See the comments.
+sha256sums_x86_64=('SKIP')
+source_i686=(${pkgname}-${pkgver}-${_pkgrealrel}-32.pkg.tar.xz::http://download.opensuse.org/repositories/home:/olav-st/Arch_Extra/i686/${pkgname}-${pkgver}-${_pkgrealrel}-i686.pkg.tar.xz)
+# Skips validation because package updated, but version not changed. See the comments.
+sha256sums_i686=('SKIP')
+
+package() {
+ cp -R "$srcdir/opt" "$pkgdir"
+ cp -R "$srcdir/usr" "$pkgdir"
+}
diff --git a/screencloud.install b/screencloud.install
new file mode 100644
index 00000000000..1d15e5ac153
--- /dev/null
+++ b/screencloud.install
@@ -0,0 +1,11 @@
+post_install() {
+ xdg-icon-resource forceupdate
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ xdg-icon-resource forceupdate
+}