summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorChris Down2015-08-07 18:14:52 +0100
committerChris Down2015-08-07 18:16:15 +0100
commitf54a91fded8ae812ec4a3a3cb6db4ca92b7c237f (patch)
treed74ba9a571688fc6c71aa4865e2f692bade6d2e0 /PKGBUILD
downloadaur-f54a91fded8ae812ec4a3a3cb6db4ca92b7c237f.tar.gz
Release 0.72-1
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD47
1 files changed, 47 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..97c270304f2
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,47 @@
+# Maintainer: Chris Down <chris@chrisdown.name>
+# Contributor: Iru Cai <mytbk920423\x40gmail 'dot' com>
+# Contributor: Houlala <houlala 'at' gmail 'dot' com>
+# Contributor: Olivier Duclos <olivier.duclos gmail.com>
+# Contributor: wido <widomaker2k7@gmail.com>
+# Contributor: VuDu <vudu 'dot' curse 'at' gmail 'dot' com>
+
+pkgname=xnviewmp
+pkgver=0.72
+pkgrel=1
+pkgdesc="An efficient multimedia viewer, browser and converter."
+url="http://www.xnview.com/en/xnviewmp/"
+
+arch=('x86_64' 'i686')
+license=('custom')
+depends=('glib2' 'expat' 'libpng12' 'gstreamer0.10-base' 'desktop-file-utils')
+optdepends=('gvfs: support for moving files to trash')
+
+install='xnviewmp.install'
+
+source=("XnViewMP-linux-${pkgver}.tgz::http://download.xnview.com/XnViewMP-linux.tgz"
+ "xnviewmp.desktop")
+md5sums=('a25161fd85775e6259fa83dc0323377d'
+ '24f44d5a881b94daf48775213a57e4ec')
+
+if [ "$CARCH" = 'x86_64' ]; then
+ source=("XnViewMP-linux-x64-${pkgver}.tgz::http://download.xnview.com/XnViewMP-linux-x64.tgz"
+ "xnviewmp.desktop")
+ md5sums=('1e3ffc900abf13795f148156d7796c72'
+ '24f44d5a881b94daf48775213a57e4ec')
+fi
+
+
+package() {
+ install -d -m755 "${pkgdir}/opt/${pkgname}"
+ install -d -m755 "${pkgdir}/usr/bin"
+ install -d -m755 "${pkgdir}/usr/share/applications"
+
+ cp -a "${srcdir}/XnView"/* "${pkgdir}/opt/${pkgname}"
+ ln -s "/opt/${pkgname}/xnview.sh" "${pkgdir}/usr/bin/${pkgname}"
+
+ install -m644 "${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: