summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorKevin Brodsky2017-01-21 13:15:57 +0000
committerKevin Brodsky2017-01-21 13:15:57 +0000
commit3fe6bf87c3afaf81c393c29b941acac5b635b260 (patch)
tree7d101f4b114c5d692796f35a6e1c0984f25464a5 /PKGBUILD
parent377f80f6a6e7d6c55a4284be78c7628415c8a1cc (diff)
downloadaur-3fe6bf87c3afaf81c393c29b941acac5b635b260.tar.gz
Some PKGBUILD clean-up
* Remove unnecessary dependencies (the qt5 packages already depend on all the needed libraries). * Add xnviewmp.desktop as a source. * Remove xnviewmp.install which was not used anyway.
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD10
1 files changed, 6 insertions, 4 deletions
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