[arch-commits] Commit in simple-scan/repos (6 files)

Jan Steffens heftig at archlinux.org
Thu Mar 31 15:50:34 UTC 2016


    Date: Thursday, March 31, 2016 @ 17:50:33
  Author: heftig
Revision: 169143

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

Added:
  simple-scan/repos/community-testing-i686/
  simple-scan/repos/community-testing-i686/PKGBUILD
    (from rev 169142, simple-scan/trunk/PKGBUILD)
  simple-scan/repos/community-testing-i686/simple-scan.install
    (from rev 169142, simple-scan/trunk/simple-scan.install)
  simple-scan/repos/community-testing-x86_64/
  simple-scan/repos/community-testing-x86_64/PKGBUILD
    (from rev 169142, simple-scan/trunk/PKGBUILD)
  simple-scan/repos/community-testing-x86_64/simple-scan.install
    (from rev 169142, simple-scan/trunk/simple-scan.install)

----------------------------------------------+
 community-testing-i686/PKGBUILD              |   30 +++++++++++++++++++++++++
 community-testing-i686/simple-scan.install   |   18 +++++++++++++++
 community-testing-x86_64/PKGBUILD            |   30 +++++++++++++++++++++++++
 community-testing-x86_64/simple-scan.install |   18 +++++++++++++++
 4 files changed, 96 insertions(+)

Copied: simple-scan/repos/community-testing-i686/PKGBUILD (from rev 169142, simple-scan/trunk/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD	                        (rev 0)
+++ community-testing-i686/PKGBUILD	2016-03-31 15:50:33 UTC (rev 169143)
@@ -0,0 +1,30 @@
+# $Id$
+# Maintainer: Thomas Dziedzic < gostrc at gmail >
+# Contributor: Jaroslav Lichtblau <dragonlord at aur.archlinux.org>
+# Contributor: Joeny Ang <ang(dot)joeny(at)gmail(dot)com>
+
+pkgname=simple-scan
+pkgver=3.20.0
+pkgrel=1
+pkgdesc='Simple scanning utility'
+arch=('i686' 'x86_64')
+url='http://launchpad.net/simple-scan'
+license=('GPL3')
+depends=('sane' 'dconf' 'gtk3' 'colord' 'hicolor-icon-theme' 'libgusb' 'packagekit')
+makedepends=('yelp-tools' 'intltool' 'vala')
+install=$pkgname.install
+source=(https://launchpad.net/$pkgname/${pkgver:0:4}/$pkgver/+download/$pkgname-$pkgver.tar.xz)
+sha256sums=('8df5a5a5b06220e98770f11c53db8fc5d0d8d675d1c395f2bcd19fc8656eb62c')
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure \
+    --prefix=/usr \
+    --disable-schemas-compile
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+}

Copied: simple-scan/repos/community-testing-i686/simple-scan.install (from rev 169142, simple-scan/trunk/simple-scan.install)
===================================================================
--- community-testing-i686/simple-scan.install	                        (rev 0)
+++ community-testing-i686/simple-scan.install	2016-03-31 15:50:33 UTC (rev 169143)
@@ -0,0 +1,18 @@
+post_install() {
+  usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas
+  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+pre_upgrade() {
+  if (( $(vercmp $2 3.1.3) < 0 )); then
+    usr/sbin/gconfpkg --uninstall simple-scan
+  fi
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  post_install
+}

Copied: simple-scan/repos/community-testing-x86_64/PKGBUILD (from rev 169142, simple-scan/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2016-03-31 15:50:33 UTC (rev 169143)
@@ -0,0 +1,30 @@
+# $Id$
+# Maintainer: Thomas Dziedzic < gostrc at gmail >
+# Contributor: Jaroslav Lichtblau <dragonlord at aur.archlinux.org>
+# Contributor: Joeny Ang <ang(dot)joeny(at)gmail(dot)com>
+
+pkgname=simple-scan
+pkgver=3.20.0
+pkgrel=1
+pkgdesc='Simple scanning utility'
+arch=('i686' 'x86_64')
+url='http://launchpad.net/simple-scan'
+license=('GPL3')
+depends=('sane' 'dconf' 'gtk3' 'colord' 'hicolor-icon-theme' 'libgusb' 'packagekit')
+makedepends=('yelp-tools' 'intltool' 'vala')
+install=$pkgname.install
+source=(https://launchpad.net/$pkgname/${pkgver:0:4}/$pkgver/+download/$pkgname-$pkgver.tar.xz)
+sha256sums=('8df5a5a5b06220e98770f11c53db8fc5d0d8d675d1c395f2bcd19fc8656eb62c')
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure \
+    --prefix=/usr \
+    --disable-schemas-compile
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+}

Copied: simple-scan/repos/community-testing-x86_64/simple-scan.install (from rev 169142, simple-scan/trunk/simple-scan.install)
===================================================================
--- community-testing-x86_64/simple-scan.install	                        (rev 0)
+++ community-testing-x86_64/simple-scan.install	2016-03-31 15:50:33 UTC (rev 169143)
@@ -0,0 +1,18 @@
+post_install() {
+  usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas
+  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+pre_upgrade() {
+  if (( $(vercmp $2 3.1.3) < 0 )); then
+    usr/sbin/gconfpkg --uninstall simple-scan
+  fi
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  post_install
+}



More information about the arch-commits mailing list