[arch-commits] Commit in scantailor/repos (8 files)

Sergej Pupykin spupykin at archlinux.org
Mon Dec 15 17:53:08 UTC 2014


    Date: Monday, December 15, 2014 @ 18:53:07
  Author: spupykin
Revision: 123918

archrelease: copy trunk to community-i686, community-x86_64

Added:
  scantailor/repos/community-i686/PKGBUILD
    (from rev 123917, scantailor/trunk/PKGBUILD)
  scantailor/repos/community-i686/scantailor.desktop
    (from rev 123917, scantailor/trunk/scantailor.desktop)
  scantailor/repos/community-i686/scantailor.install
    (from rev 123917, scantailor/trunk/scantailor.install)
  scantailor/repos/community-x86_64/PKGBUILD
    (from rev 123917, scantailor/trunk/PKGBUILD)
  scantailor/repos/community-x86_64/scantailor.desktop
    (from rev 123917, scantailor/trunk/scantailor.desktop)
  scantailor/repos/community-x86_64/scantailor.install
    (from rev 123917, scantailor/trunk/scantailor.install)
Deleted:
  scantailor/repos/community-i686/PKGBUILD
  scantailor/repos/community-x86_64/PKGBUILD

-------------------------------------+
 /PKGBUILD                           |   74 ++++++++++++++++++++++++++++++++++
 community-i686/PKGBUILD             |   32 --------------
 community-i686/scantailor.desktop   |   11 +++++
 community-i686/scantailor.install   |   13 +++++
 community-x86_64/PKGBUILD           |   32 --------------
 community-x86_64/scantailor.desktop |   11 +++++
 community-x86_64/scantailor.install |   13 +++++
 7 files changed, 122 insertions(+), 64 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2014-12-15 17:52:52 UTC (rev 123917)
+++ community-i686/PKGBUILD	2014-12-15 17:53:07 UTC (rev 123918)
@@ -1,32 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: Denis Terskov aka neurosurgeon <terskov.den at gmail.com>
-
-pkgname=scantailor
-pkgver=0.9.11.1
-pkgrel=3
-pkgdesc="Interactive post-processing tool for scanned pages"
-arch=(i686 x86_64)
-url="http://scantailor.sourceforge.net"
-license="GPL"
-depends=('qt4')
-makedepends=('cmake' 'boost')
-options=('!makeflags')
-source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz)
-md5sums=('6cdca1b6d1dafd022ea94b4800dad340')
-
-build() {
-  cd $srcdir/$pkgname-$pkgver
-  cmake \
-	-DCMAKE_CXX_FLAGS="-DBOOST_NO_MEMBER_TEMPLATE_FRIENDS" \
-	-DCMAKE_CXX_FLAGS_DEBUG="-DBOOST_NO_MEMBER_TEMPLATE_FRIENDS" \
-	-DCMAKE_CXX_FLAGS_RELEASE="-DBOOST_NO_MEMBER_TEMPLATE_FRIENDS" \
-	-DCMAKE_INSTALL_PREFIX=/usr \
-	-DCMAKE_BUILD_TYPE=Release .
-  make
-}
-
-package() {
-  cd $srcdir/$pkgname-$pkgver
-  make DESTDIR="$pkgdir" install
-}

Copied: scantailor/repos/community-i686/PKGBUILD (from rev 123917, scantailor/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2014-12-15 17:53:07 UTC (rev 123918)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Denis Terskov aka neurosurgeon <terskov.den at gmail.com>
+
+pkgname=scantailor
+pkgver=0.9.11.1
+pkgrel=4
+pkgdesc="Interactive post-processing tool for scanned pages"
+arch=(i686 x86_64)
+url="http://scantailor.sourceforge.net"
+license="GPL"
+depends=('qt4')
+makedepends=('cmake' 'boost')
+options=('!makeflags')
+install=scantailor.install
+source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
+	scantailor.desktop)
+md5sums=('6cdca1b6d1dafd022ea94b4800dad340'
+         '7fdbdef6167d124762421ec99a98f8de')
+
+build() {
+  cd $srcdir/$pkgname-$pkgver
+  cmake \
+	-DCMAKE_CXX_FLAGS="-DBOOST_NO_MEMBER_TEMPLATE_FRIENDS" \
+	-DCMAKE_CXX_FLAGS_DEBUG="-DBOOST_NO_MEMBER_TEMPLATE_FRIENDS" \
+	-DCMAKE_CXX_FLAGS_RELEASE="-DBOOST_NO_MEMBER_TEMPLATE_FRIENDS" \
+	-DCMAKE_INSTALL_PREFIX=/usr \
+	-DCMAKE_BUILD_TYPE=Release .
+  make
+}
+
+package() {
+  cd $srcdir/$pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+  install -Dm0644 "resources/appicon.svg" "$pkgdir/usr/share/icons/hicolor/scalable/apps/scantailor.svg"
+  install -Dm0644 "$srcdir/scantailor.desktop" "$pkgdir/usr/share/applications/scantailor.desktop"
+}

Copied: scantailor/repos/community-i686/scantailor.desktop (from rev 123917, scantailor/trunk/scantailor.desktop)
===================================================================
--- community-i686/scantailor.desktop	                        (rev 0)
+++ community-i686/scantailor.desktop	2014-12-15 17:53:07 UTC (rev 123918)
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Name=Scan Tailor
+Comment=An interactive post-processing tool for scanned pages.
+Icon=/usr/share/icons/hicolor/scalable/apps/scantailor.svg
+Exec=scantailor %u
+TryExec=scantailor
+Terminal=false
+Type=Application
+StartupNotify=true
+Categories=Graphics;
+MimeType=image/png;image/tif;image/jpeg

Copied: scantailor/repos/community-i686/scantailor.install (from rev 123917, scantailor/trunk/scantailor.install)
===================================================================
--- community-i686/scantailor.install	                        (rev 0)
+++ community-i686/scantailor.install	2014-12-15 17:53:07 UTC (rev 123918)
@@ -0,0 +1,13 @@
+post_install() {
+	update-desktop-database -q
+	xdg-icon-resource forceupdate --mode system
+	xdg-desktop-menu forceupdate --mode system
+}
+
+post_upgrade() {
+	post_install
+}
+
+post_remove() {
+	post_install
+}

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2014-12-15 17:52:52 UTC (rev 123917)
+++ community-x86_64/PKGBUILD	2014-12-15 17:53:07 UTC (rev 123918)
@@ -1,32 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: Denis Terskov aka neurosurgeon <terskov.den at gmail.com>
-
-pkgname=scantailor
-pkgver=0.9.11.1
-pkgrel=3
-pkgdesc="Interactive post-processing tool for scanned pages"
-arch=(i686 x86_64)
-url="http://scantailor.sourceforge.net"
-license="GPL"
-depends=('qt4')
-makedepends=('cmake' 'boost')
-options=('!makeflags')
-source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz)
-md5sums=('6cdca1b6d1dafd022ea94b4800dad340')
-
-build() {
-  cd $srcdir/$pkgname-$pkgver
-  cmake \
-	-DCMAKE_CXX_FLAGS="-DBOOST_NO_MEMBER_TEMPLATE_FRIENDS" \
-	-DCMAKE_CXX_FLAGS_DEBUG="-DBOOST_NO_MEMBER_TEMPLATE_FRIENDS" \
-	-DCMAKE_CXX_FLAGS_RELEASE="-DBOOST_NO_MEMBER_TEMPLATE_FRIENDS" \
-	-DCMAKE_INSTALL_PREFIX=/usr \
-	-DCMAKE_BUILD_TYPE=Release .
-  make
-}
-
-package() {
-  cd $srcdir/$pkgname-$pkgver
-  make DESTDIR="$pkgdir" install
-}

Copied: scantailor/repos/community-x86_64/PKGBUILD (from rev 123917, scantailor/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2014-12-15 17:53:07 UTC (rev 123918)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Denis Terskov aka neurosurgeon <terskov.den at gmail.com>
+
+pkgname=scantailor
+pkgver=0.9.11.1
+pkgrel=4
+pkgdesc="Interactive post-processing tool for scanned pages"
+arch=(i686 x86_64)
+url="http://scantailor.sourceforge.net"
+license="GPL"
+depends=('qt4')
+makedepends=('cmake' 'boost')
+options=('!makeflags')
+install=scantailor.install
+source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
+	scantailor.desktop)
+md5sums=('6cdca1b6d1dafd022ea94b4800dad340'
+         '7fdbdef6167d124762421ec99a98f8de')
+
+build() {
+  cd $srcdir/$pkgname-$pkgver
+  cmake \
+	-DCMAKE_CXX_FLAGS="-DBOOST_NO_MEMBER_TEMPLATE_FRIENDS" \
+	-DCMAKE_CXX_FLAGS_DEBUG="-DBOOST_NO_MEMBER_TEMPLATE_FRIENDS" \
+	-DCMAKE_CXX_FLAGS_RELEASE="-DBOOST_NO_MEMBER_TEMPLATE_FRIENDS" \
+	-DCMAKE_INSTALL_PREFIX=/usr \
+	-DCMAKE_BUILD_TYPE=Release .
+  make
+}
+
+package() {
+  cd $srcdir/$pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+  install -Dm0644 "resources/appicon.svg" "$pkgdir/usr/share/icons/hicolor/scalable/apps/scantailor.svg"
+  install -Dm0644 "$srcdir/scantailor.desktop" "$pkgdir/usr/share/applications/scantailor.desktop"
+}

Copied: scantailor/repos/community-x86_64/scantailor.desktop (from rev 123917, scantailor/trunk/scantailor.desktop)
===================================================================
--- community-x86_64/scantailor.desktop	                        (rev 0)
+++ community-x86_64/scantailor.desktop	2014-12-15 17:53:07 UTC (rev 123918)
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Name=Scan Tailor
+Comment=An interactive post-processing tool for scanned pages.
+Icon=/usr/share/icons/hicolor/scalable/apps/scantailor.svg
+Exec=scantailor %u
+TryExec=scantailor
+Terminal=false
+Type=Application
+StartupNotify=true
+Categories=Graphics;
+MimeType=image/png;image/tif;image/jpeg

Copied: scantailor/repos/community-x86_64/scantailor.install (from rev 123917, scantailor/trunk/scantailor.install)
===================================================================
--- community-x86_64/scantailor.install	                        (rev 0)
+++ community-x86_64/scantailor.install	2014-12-15 17:53:07 UTC (rev 123918)
@@ -0,0 +1,13 @@
+post_install() {
+	update-desktop-database -q
+	xdg-icon-resource forceupdate --mode system
+	xdg-desktop-menu forceupdate --mode system
+}
+
+post_upgrade() {
+	post_install
+}
+
+post_remove() {
+	post_install
+}



More information about the arch-commits mailing list