summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Mamzikov2016-01-22 19:52:27 +0500
committerAlexander Mamzikov2016-01-22 19:52:27 +0500
commit5e175e9355b2106d5212678a44a79653e845eff7 (patch)
treeb5128db5b9fca05790fc527a6d322a99d8e79382
downloadaur-5e175e9355b2106d5212678a44a79653e845eff7.tar.gz
-
-rw-r--r--.SRCINFO56
-rw-r--r--.install9
-rw-r--r--PKGBUILD76
3 files changed, 141 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..957f936ef48
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,56 @@
+# Generated by mksrcinfo v8
+# Fri Jan 22 14:49:42 UTC 2016
+pkgbase = stereophotoview
+ pkgdesc = A cross platform stereoscopic photo viewer and editor
+ pkgver = 0.3
+ pkgrel = 1
+ url = https://bitbucket.org/av-mamzikov/stereophotoview
+ install = .install
+ arch = i686
+ arch = x86_64
+ license = GPL2
+ makedepends = qt5-base
+ makedepends = qt5-tools
+ makedepends = qt5-declarative
+ makedepends = qt5-multimedia
+ makedepends = qt5-quickcontrols
+ depends = attr
+ depends = bzip2
+ depends = expat
+ depends = freetype2
+ depends = gcc-libs
+ depends = glib2
+ depends = glibc
+ depends = graphite
+ depends = harfbuzz
+ depends = icu
+ depends = libcap
+ depends = libdrm
+ depends = libffi
+ depends = libgcrypt
+ depends = libgpg-error
+ depends = libpng
+ depends = libsystemd
+ depends = libx11
+ depends = libxau
+ depends = libxcb
+ depends = libxdamage
+ depends = libxdmcp
+ depends = libxext
+ depends = libxfixes
+ depends = libxshmfence
+ depends = libxxf86vm
+ depends = lz4
+ depends = mesa
+ depends = mesa-libgl
+ depends = openssl
+ depends = pcre
+ depends = qt5-base
+ depends = qt5-declarative
+ depends = xz
+ depends = zlib
+ source = https://bitbucket.org/av-mamzikov/stereophotoview/get/0.3.zip
+ md5sums = 333ed040da97d6c04e159a52da17e0d1
+
+pkgname = stereophotoview
+
diff --git a/.install b/.install
new file mode 100644
index 00000000000..59ccd710260
--- /dev/null
+++ b/.install
@@ -0,0 +1,9 @@
+post_install() {
+ /usr/bin/update-desktop-database -q /usr/share/applications > /dev/null
+ /usr/bin/update-mime-database -n /usr/share/mime > /dev/null
+}
+
+post_remove() {
+ /usr/bin/update-desktop-database -q /usr/share/applications > /dev/null
+ /usr/bin/update-mime-database -n /usr/share/mime > /dev/null
+} \ No newline at end of file
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..3e99d1a97db
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,76 @@
+# Contributor: Alexander Mamzikov <av.mamzikov@gmail.com>
+
+pkgname=stereophotoview
+pkgver=0.3
+pkgrel=1
+pkgdesc="A cross platform stereoscopic photo viewer and editor"
+arch=('i686' 'x86_64')
+url="https://bitbucket.org/av-mamzikov/stereophotoview"
+license=('GPL2')
+groups=()
+depends=(attr
+bzip2
+expat
+freetype2
+gcc-libs
+glib2
+glibc
+graphite
+harfbuzz
+icu
+libcap
+libdrm
+libffi
+libgcrypt
+libgpg-error
+libpng
+libsystemd
+libx11
+libxau
+libxcb
+libxdamage
+libxdmcp
+libxext
+libxfixes
+libxshmfence
+libxxf86vm
+lz4
+mesa
+mesa-libgl
+openssl
+pcre
+qt5-base
+qt5-declarative
+xz
+zlib
+)
+makedepends=(qt5-base
+qt5-tools
+qt5-declarative
+qt5-multimedia
+qt5-quickcontrols
+)
+optdepends=()
+provides=()
+conflicts=()
+replaces=()
+backup=()
+options=()
+install=.install
+source=(https://bitbucket.org/av-mamzikov/stereophotoview/get/0.3.zip)
+noextract=()
+md5sums=('333ed040da97d6c04e159a52da17e0d1') #generate with 'makepkg -g'
+
+build() {
+ cd "$srcdir"
+ test -d build || mkdir build
+ cd build
+ qmake NoPostInstall=1 PREFIX=${pkgdir}/usr ../av-mamzikov-stereophotoview-0acb5f593d0b
+ make
+}
+
+package()
+{
+ cd "$srcdir/build"
+ make install
+}