summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO13
-rw-r--r--PKGBUILD10
-rw-r--r--xnviewmp.install13
3 files changed, 11 insertions, 25 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 78af73367ad..8058e048049 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,5 @@
# Generated by mksrcinfo v8
-# Sat Jan 21 12:17:30 UTC 2017
+# Sat Jan 21 13:15:08 UTC 2017
pkgbase = xnviewmp
pkgdesc = An efficient multimedia viewer, browser and converter.
pkgver = 0.84
@@ -8,17 +8,14 @@ pkgbase = xnviewmp
arch = x86_64
arch = i686
license = custom
- depends = glib2
- depends = expat
- depends = libpng12
- depends = gstreamer0.10-base
- depends = desktop-file-utils
- depends = libxslt
depends = qt5-multimedia
- depends = qt5-webkit
depends = qt5-svg
+ depends = qt5-webkit
depends = qt5-x11extras
+ depends = desktop-file-utils
optdepends = gvfs: support for moving files to trash
+ source = xnviewmp.desktop
+ md5sums = 24f44d5a881b94daf48775213a57e4ec
source_x86_64 = http://download.xnview.com/XnViewMP-linux-x64.tgz
md5sums_x86_64 = a1202367f23f32e14a6a0d860564e1da
source_i686 = http://download.xnview.com/XnViewMP-linux.tgz
diff --git a/PKGBUILD b/PKGBUILD
index 5875e8e050b..57ab5c035ff 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -15,13 +15,15 @@ url="http://www.xnview.com/en/xnviewmp/"
arch=('x86_64' 'i686')
license=('custom')
-depends=('glib2' 'expat' 'libpng12' 'gstreamer0.10-base' 'desktop-file-utils' 'libxslt' 'qt5-multimedia' 'qt5-webkit' 'qt5-svg' 'qt5-x11extras')
+depends=('qt5-multimedia' 'qt5-svg' 'qt5-webkit' 'qt5-x11extras' 'desktop-file-utils')
optdepends=('gvfs: support for moving files to trash')
-source_x86_64=("http://download.xnview.com/XnViewMP-linux-x64.tgz")
+source_x86_64=('http://download.xnview.com/XnViewMP-linux-x64.tgz')
md5sums_x86_64=('a1202367f23f32e14a6a0d860564e1da')
-source_i686=("http://download.xnview.com/XnViewMP-linux.tgz")
+source_i686=('http://download.xnview.com/XnViewMP-linux.tgz')
md5sums_i686=('75e9e03aa41da988eb66524574794b31')
+source=('xnviewmp.desktop')
+md5sums=('24f44d5a881b94daf48775213a57e4ec')
package() {
install -d -m755 "${pkgdir}/opt/${pkgname}"
@@ -31,7 +33,7 @@ package() {
cp -a "${srcdir}/XnView"/* "${pkgdir}/opt/${pkgname}"
ln -s "/opt/${pkgname}/xnview.sh" "${pkgdir}/usr/bin/${pkgname}"
- install -m644 "${startdir}/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
+ install -m644 "${srcdir}/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
install -D -m644 "${srcdir}/XnView/license.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
# Clean up
diff --git a/xnviewmp.install b/xnviewmp.install
deleted file mode 100644
index 0437fc78986..00000000000
--- a/xnviewmp.install
+++ /dev/null
@@ -1,13 +0,0 @@
-post_install() {
- update-desktop-database -q /usr/share/applications
-}
-
-post_upgrade() {
- post_install
-}
-
-post_remove() {
- post_install
-}
-
-# vim:set ts=2 sw=2 et: