[arch-commits] Commit in scantailor/repos (8 files)
Felix Yan
fyan at archlinux.org
Mon Dec 7 04:53:59 UTC 2015
Date: Monday, December 7, 2015 @ 05:53:59
Author: fyan
Revision: 149554
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
scantailor/repos/community-staging-i686/
scantailor/repos/community-staging-i686/PKGBUILD
(from rev 149553, scantailor/trunk/PKGBUILD)
scantailor/repos/community-staging-i686/scantailor.desktop
(from rev 149553, scantailor/trunk/scantailor.desktop)
scantailor/repos/community-staging-i686/scantailor.install
(from rev 149553, scantailor/trunk/scantailor.install)
scantailor/repos/community-staging-x86_64/
scantailor/repos/community-staging-x86_64/PKGBUILD
(from rev 149553, scantailor/trunk/PKGBUILD)
scantailor/repos/community-staging-x86_64/scantailor.desktop
(from rev 149553, scantailor/trunk/scantailor.desktop)
scantailor/repos/community-staging-x86_64/scantailor.install
(from rev 149553, scantailor/trunk/scantailor.install)
---------------------------------------------+
community-staging-i686/PKGBUILD | 35 ++++++++++++++++++++++++++
community-staging-i686/scantailor.desktop | 11 ++++++++
community-staging-i686/scantailor.install | 13 +++++++++
community-staging-x86_64/PKGBUILD | 35 ++++++++++++++++++++++++++
community-staging-x86_64/scantailor.desktop | 11 ++++++++
community-staging-x86_64/scantailor.install | 13 +++++++++
6 files changed, 118 insertions(+)
Copied: scantailor/repos/community-staging-i686/PKGBUILD (from rev 149553, scantailor/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2015-12-07 04:53:59 UTC (rev 149554)
@@ -0,0 +1,35 @@
+# $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=5
+_realver=EXPERIMENTAL_2015_10_27
+pkgdesc="Interactive post-processing tool for scanned pages"
+arch=(i686 x86_64)
+url="http://scantailor.org/"
+license="GPL"
+depends=('qt5-base' 'libtiff' 'hicolor-icon-theme' 'desktop-file-utils')
+makedepends=('cmake' 'qt5-tools' 'eigen' 'boost')
+install=scantailor.install
+source=($pkgname-$_realver.tar.gz::https://github.com/Tulon/$pkgname/archive/$_realver.tar.gz
+ scantailor.desktop)
+md5sums=('1638dec878e9f35e9c0af1ab222280dd'
+ '7fdbdef6167d124762421ec99a98f8de')
+
+build() {
+ cd $srcdir/$pkgname-$_realver
+ cmake \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ .
+ make
+}
+
+package() {
+ cd $srcdir/$pkgname-$_realver
+ 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-staging-i686/scantailor.desktop (from rev 149553, scantailor/trunk/scantailor.desktop)
===================================================================
--- community-staging-i686/scantailor.desktop (rev 0)
+++ community-staging-i686/scantailor.desktop 2015-12-07 04:53:59 UTC (rev 149554)
@@ -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-staging-i686/scantailor.install (from rev 149553, scantailor/trunk/scantailor.install)
===================================================================
--- community-staging-i686/scantailor.install (rev 0)
+++ community-staging-i686/scantailor.install 2015-12-07 04:53:59 UTC (rev 149554)
@@ -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
+}
Copied: scantailor/repos/community-staging-x86_64/PKGBUILD (from rev 149553, scantailor/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2015-12-07 04:53:59 UTC (rev 149554)
@@ -0,0 +1,35 @@
+# $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=5
+_realver=EXPERIMENTAL_2015_10_27
+pkgdesc="Interactive post-processing tool for scanned pages"
+arch=(i686 x86_64)
+url="http://scantailor.org/"
+license="GPL"
+depends=('qt5-base' 'libtiff' 'hicolor-icon-theme' 'desktop-file-utils')
+makedepends=('cmake' 'qt5-tools' 'eigen' 'boost')
+install=scantailor.install
+source=($pkgname-$_realver.tar.gz::https://github.com/Tulon/$pkgname/archive/$_realver.tar.gz
+ scantailor.desktop)
+md5sums=('1638dec878e9f35e9c0af1ab222280dd'
+ '7fdbdef6167d124762421ec99a98f8de')
+
+build() {
+ cd $srcdir/$pkgname-$_realver
+ cmake \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ .
+ make
+}
+
+package() {
+ cd $srcdir/$pkgname-$_realver
+ 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-staging-x86_64/scantailor.desktop (from rev 149553, scantailor/trunk/scantailor.desktop)
===================================================================
--- community-staging-x86_64/scantailor.desktop (rev 0)
+++ community-staging-x86_64/scantailor.desktop 2015-12-07 04:53:59 UTC (rev 149554)
@@ -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-staging-x86_64/scantailor.install (from rev 149553, scantailor/trunk/scantailor.install)
===================================================================
--- community-staging-x86_64/scantailor.install (rev 0)
+++ community-staging-x86_64/scantailor.install 2015-12-07 04:53:59 UTC (rev 149554)
@@ -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