summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMartin Poljak2016-03-29 11:31:04 +0200
committerMartin Poljak2016-03-29 11:31:04 +0200
commit387679761eeb0ccc5efa0c25f4f8f916ca0b5578 (patch)
treef7a6bc28ac51519d6de0e8038b1a8585640bf047 /PKGBUILD
parent8e414a8b520207ebf493ec47e0baa561a7d5480a (diff)
downloadaur-387679761eeb0ccc5efa0c25f4f8f916ca0b5578.tar.gz
fixed according to grayich@mail.ru suggestion
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD35
1 files changed, 8 insertions, 27 deletions
diff --git a/PKGBUILD b/PKGBUILD
index ba916b5f994..0e697121787 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,4 +1,5 @@
-# Maintainer: Evan Penner <gryffyn@archlinux 'dot' net>
+# Maintainer: Martin Poljak <martin 'at' poljak 'dot' cz>
+# Contributor: Evan Penner <gryffyn@archlinux 'dot' net>
# Contributor: Iru Cai <mytbk920423\x40gmail 'dot' com>
# Contributor: Houlala <houlala 'at' gmail 'dot' com>
# Contributor: Olivier Duclos <olivier.duclos gmail.com>
@@ -16,22 +17,10 @@ license=('custom')
depends=('glib2' 'expat' 'libpng12' 'gstreamer0.10-base' 'desktop-file-utils' 'libxslt' 'qt5-multimedia' 'qt5-webkit' 'qt5-svg' 'qt5-x11extras')
optdepends=('gvfs: support for moving files to trash')
-install='xnviewmp.install'
-
-source_i686=("http://download.xnview.com/XnViewMP-linux.tgz"
- "xnviewmp.desktop")
-
-source_x86_64=("http://download.xnview.com/XnViewMP-linux-x64.tgz"
- "xnviewmp.desktop")
-md5sums_x86_64=('6d15272d6dfbf790ebc9c6b469e438e0'
- '24f44d5a881b94daf48775213a57e4ec')
-md5sums_i686=('947e7f3c8d1d63109d8d6a7fb70bfedb'
- '24f44d5a881b94daf48775213a57e4ec')
-
-noextract=("http://www.xnview.com/beta/XnView-archx32.gz"
- "http://www.xnview.com/beta/XnView-archx64.gz")
-
-
+source_i686=("http://download.xnview.com/XnViewMP-linux.tgz")
+source_x86_64=("http://download.xnview.com/XnViewMP-linux-x64.tgz")
+md5sums_x86_64=('6d15272d6dfbf790ebc9c6b469e438e0')
+md5sums_i686=('947e7f3c8d1d63109d8d6a7fb70bfedb')
package() {
install -d -m755 "${pkgdir}/opt/${pkgname}"
@@ -41,16 +30,8 @@ package() {
cp -a "${srcdir}/XnView"/* "${pkgdir}/opt/${pkgname}"
ln -s "/opt/${pkgname}/xnview.sh" "${pkgdir}/usr/bin/${pkgname}"
- if [ "$CARCH" = "x86_64" ] ; then
- zcat "${srcdir}/XnView-archx64.gz" > "${pkgdir}/opt/${pkgname}/XnView"
- else
- zcat "${srcdir}/XnView-archx32.gz" > "${pkgdir}/opt/${pkgname}/XnView"
- fi
-
- install -m644 "${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
-
+ install -m644 "${startdir}/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
install -D -m644 "${srcdir}/XnView/license.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-
}
-# vim:set ts=2 sw=2 et:
+# vim:set ts=2 sw=2 et: \ No newline at end of file