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

Eduardo Romero eduardo at archlinux.org
Wed Jul 16 18:07:15 EDT 2008


    Date: Wednesday, July 16, 2008 @ 18:07:15
  Author: eduardo
Revision: 5497

fixing PKGBUILD

Added:
  gtkam/trunk/PKGBUILD
  gtkam/trunk/gtkam.install

---------------+
 PKGBUILD      |   20 ++++++++++++++++++++
 gtkam.install |   27 +++++++++++++++++++++++++++
 2 files changed, 47 insertions(+)

Added: PKGBUILD
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2008-07-16 22:07:15 UTC (rev 5497)
@@ -0,0 +1,20 @@
+# Maintainer: Jason Chu <jason at archlinux.org>
+
+pkgname=gtkam
+pkgver=0.1.15
+pkgrel=1
+pkgdesc="A graphical front-end to gPhoto for GNOME"
+url="http://gphoto.sourceforge.net/proj/gtkam/"
+depends=('libgphoto2' 'libexif-gtk')
+makedepends=('gimp')
+conflicts=()
+backup=()
+install=gtkam.install
+source=(http://downloads.sourceforge.net/sourceforge/gphoto/$pkgname-$pkgver.tar.gz)
+md5sums=('622170d414718a5ae11487a6af1e47cd')
+
+build() {
+  cd $startdir/src/$pkgname-$pkgver
+  ./configure --prefix=/usr --sysconfdir=/etc --withouth-bonobo --withouth-gnome
+  make DESTDIR=$startdir/pkg install
+}

Added: gtkam.install
===================================================================
--- gtkam.install	                        (rev 0)
+++ gtkam.install	2008-07-16 22:07:15 UTC (rev 5497)
@@ -0,0 +1,27 @@
+# arg 1:  the new package version
+post_install() {
+  scrollkeeper-update -p var/lib/scrollkeeper
+  /bin/true
+}
+
+# arg 1:  the new package version
+# arg 2:  the old package version
+post_upgrade() {
+  scrollkeeper-update -p var/lib/scrollkeeper
+  /bin/true
+}
+
+# arg 1:  the old package version
+pre_remove() {
+  /bin/true
+}
+
+# arg 1:  the old package version
+post_remove() {
+  scrollkeeper-update -p var/lib/scrollkeeper
+  /bin/true
+}
+
+op=$1
+shift
+$op $*





More information about the arch-commits mailing list