[arch-commits] Commit in libksane/trunk (PKGBUILD libksane.install)

Andrea Scarpino andrea at archlinux.org
Mon Jul 25 00:13:10 UTC 2011


    Date: Sunday, July 24, 2011 @ 20:13:10
  Author: andrea
Revision: 132587

move pkgbuilds to trunk; cleanup

Added:
  libksane/trunk/PKGBUILD
    (from rev 132557, libksane/kde-unstable/PKGBUILD)
  libksane/trunk/libksane.install
    (from rev 132557, libksane/kde-unstable/libksane.install)

------------------+
 PKGBUILD         |   31 +++++++++++++++++++++++++++++++
 libksane.install |   11 +++++++++++
 2 files changed, 42 insertions(+)

Copied: libksane/trunk/PKGBUILD (from rev 132557, libksane/kde-unstable/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2011-07-25 00:13:10 UTC (rev 132587)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=libksane
+pkgver=4.7.0
+pkgrel=1
+pkgdesc="An image scanning library"
+url="http://kde.org/"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+depends=('kdelibs' 'sane')
+makedepends=('cmake' 'automoc4')
+conflicts=('kdegraphics-libs')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2")
+sha1sums=('73a3f2c4619ccd8da7c362fc3832c1d52795933f')
+
+build() {
+  cd "${srcdir}"
+  mkdir build
+  cd build
+  cmake ../${pkgname}-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr
+  make
+}
+
+package() {
+  cd "${srcdir}"/build
+  make DESTDIR="${pkgdir}" install
+}

Copied: libksane/trunk/libksane.install (from rev 132557, libksane/kde-unstable/libksane.install)
===================================================================
--- libksane.install	                        (rev 0)
+++ libksane.install	2011-07-25 00:13:10 UTC (rev 132587)
@@ -0,0 +1,11 @@
+post_install() {
+	xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+	post_install
+}
+
+post_remove() {
+	post_install
+}




More information about the arch-commits mailing list