summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorranger2015-06-24 19:50:06 +0000
committerranger2015-06-24 19:50:06 +0000
commit49127775b8c4368c88b43a7f47f22408f90208ed (patch)
tree9e3ca86774989f2b16e147c3ee576b2ea7474962
downloadaur-49127775b8c4368c88b43a7f47f22408f90208ed.tar.gz
Initial import
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD41
-rw-r--r--XnRetro.desktop13
3 files changed, 73 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..c95164ee331
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+pkgbase = xnretro
+ pkgdesc = XnRetro allows you to create stunning images with vintage or instant effect on your Desktop.
+ pkgver = 1.26
+ pkgrel = 3
+ url = http://www.xnview.com/
+ arch = i686
+ arch = x86_64
+ license = freeware
+ depends = lib32-qt4
+ depends = qtwebkit
+ depends = lib32-gstreamer0.10-base
+ depends = lib32-libpng12
+ source = http://download.xnview.com/XnRetro-linux.tgz
+ source = XnRetro.desktop
+ sha256sums = e0912a4fd9d9e095f695bf6e89b81b3ed9894caca05d247fde9126b3102990cd
+ sha256sums = d25ccfca3ef1cb4f1474be5f2ec49666bda98e2220daa2d9ab7d22b801cd1c8b
+
+pkgname = xnretro
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..05d20bdd22e
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,41 @@
+# Maintainer: Ranger <rangergr@archlinux.gr>
+# Contributor: Ferik <djferik at gmail dot com>
+
+pkgname=xnretro
+pkgver=1.26
+pkgrel=3
+pkgdesc="XnRetro allows you to create stunning images with vintage or instant effect on your Desktop."
+url="http://www.xnview.com/"
+arch=('i686' 'x86_64')
+license=('freeware')
+
+if [[ $CARCH == i686 ]]; then
+ depends+=('qt4' 'qtwebkit' 'gstreamer0.10-base' 'libpng12')
+
+else
+ depends+=('lib32-qt4' 'qtwebkit' 'lib32-gstreamer0.10-base' 'lib32-libpng12')
+
+fi
+
+conflicts=('')
+source=("http://download.xnview.com/XnRetro-linux.tgz" "XnRetro.desktop")
+sha256sums=('e0912a4fd9d9e095f695bf6e89b81b3ed9894caca05d247fde9126b3102990cd' 'd25ccfca3ef1cb4f1474be5f2ec49666bda98e2220daa2d9ab7d22b801cd1c8b')
+
+
+package()
+{
+ mkdir -p "${pkgdir}/opt/XnRetro"
+ cd "${srcdir}/XnRetro"
+
+ /bin/tar cf - * | ( cd ${pkgdir}/opt/XnRetro; tar xfp - )
+ rm ${srcdir}/XnRetro/XnRetro.desktop
+
+ mv ../XnRetro.desktop ${srcdir}/XnRetro
+
+ install -D -m644 ${srcdir}/XnRetro/xnretro.png ${pkgdir}/usr/share/pixmaps/xnretro.png
+ install -D -m644 ${srcdir}/XnRetro/XnRetro.desktop ${pkgdir}/usr/share/applications/XnRetro.desktop
+
+ rm ${pkgdir}/opt/XnRetro/XnRetro.desktop
+ rm ${pkgdir}/opt/XnRetro/xnretro.png
+
+} \ No newline at end of file
diff --git a/XnRetro.desktop b/XnRetro.desktop
new file mode 100644
index 00000000000..ea53a2d01e0
--- /dev/null
+++ b/XnRetro.desktop
@@ -0,0 +1,13 @@
+
+[Desktop Entry]
+Encoding=UTF-8
+Terminal=0
+Exec=/opt/XnRetro/XnRetro
+Icon=xnretro.png
+Type=Application
+Categories=Graphics;
+StartupNotify=true
+Name=XnView Retro
+GenericName=XnRetro
+
+Name[en_US]=XnRetro.desktop