[arch-commits] Commit in kino/trunk (PKGBUILD)

Jan de Groot jgc at archlinux.org
Sun May 3 22:21:20 UTC 2009


    Date: Sunday, May 3, 2009 @ 18:21:20
  Author: jgc
Revision: 37826

upgpkg: kino 1.3.3-2

Modified:
  kino/trunk/PKGBUILD

----------+
 PKGBUILD |   15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-05-03 22:16:56 UTC (rev 37825)
+++ PKGBUILD	2009-05-03 22:21:20 UTC (rev 37826)
@@ -4,23 +4,22 @@
 
 pkgname=kino
 pkgver=1.3.3
-pkgrel=1
+pkgrel=2
 pkgdesc="A non-linear DV editor."
 url="http://www.kinodv.org/"
 arch=('i686' 'x86_64')
 license=('GPL')
-depends=('libglade' 'libdv' 'libsamplerate' 'libxv' 'libiec61883' 'libavc1394' 'libsm')
+depends=('libglade>=2.6.4' 'libdv>=1.0.0' 'libsamplerate' 'libxv' 'libiec61883>=1.2.0' 'libavc1394>=0.5.3-3' 'libsm')
 makedepends=('intltool')
-source=(http://downloads.sourceforge.net/sourceforge/kino/$pkgname-$pkgver.tar.gz kino-gcc43.patch)
+source=(http://downloads.sourceforge.net/sourceforge/kino/${pkgname}-${pkgver}.tar.gz kino-gcc43.patch)
 md5sums=('a91b2e574e9872ac2b892165a4529ced' 'ee0c377d3d22d1df2ec5aa9c840be7c5')
 options=("!libtool")
 
 build() {
-  cd $srcdir/$pkgname-$pkgver
-  patch -Np0 < $srcdir/kino-gcc43.patch
-  ./configure --prefix=/usr --sysconfdir=/etc
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  patch -Np0 -i "${srcdir}/kino-gcc43.patch" || return 1
+  ./configure --prefix=/usr --sysconfdir=/etc || return 1
   make || return 1
-  make DESTDIR=$pkgdir prefix=/usr sysconfdir=/etc install
+  make DESTDIR="${pkgdir}" install || return 1
   chown root:root -R $pkgdir/usr/share/kino/help
 }
-




More information about the arch-commits mailing list