Date: Thursday, May 13, 2010 @ 12:08:22
  Author: andrea
Revision: 80201

upgpkg: dvdbackup 0.4.1-1
upstream release

Modified:
  dvdbackup/trunk/PKGBUILD
Deleted:
  dvdbackup/trunk/ChangeLog

-----------+
 ChangeLog |    3 ---
 PKGBUILD  |   39 +++++++++++++++++++--------------------
 2 files changed, 19 insertions(+), 23 deletions(-)

Deleted: ChangeLog
===================================================================
--- ChangeLog   2010-05-13 15:59:58 UTC (rev 80200)
+++ ChangeLog   2010-05-13 16:08:22 UTC (rev 80201)
@@ -1,3 +0,0 @@
-01-31-2008     Varun Acharya <va...@archlinux.org>
-
-       * dvdbackup-0.1.1-2 moved to extra from community

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2010-05-13 15:59:58 UTC (rev 80200)
+++ PKGBUILD    2010-05-13 16:08:22 UTC (rev 80201)
@@ -1,27 +1,26 @@
-# Maintainer: Varun Acharya <va...@archlinux.org>
+# $Id$
+# Maintainer:
+# Contributor: Varun Acharya <va...@archlinux.org>
 # Contributor: Nicolai Lissner <nlis...@linux01.gwdg.de>
-# changes to make a static build against the older libdvdread by denis on AUR
 
 pkgname=dvdbackup
-pkgver=0.1.1
-pkgrel=2
-pkgdesc="Backup contents of video-dvd to harddisk"
+pkgver=0.4.1
+pkgrel=1
+pkgdesc="A tool to rip video DVDs from the command line"
 arch=('i686' 'x86_64')
-url="http://dvd-create.sourceforge.net";
-license="GPL"
-depends=()
-source=(http://dvd-create.sourceforge.net/$pkgname-$pkgver.tar.gz
-       http://dvd-create.sourceforge.net/libdvdread-0.9.3.tar.gz)
-md5sums=('53a071d1def5ee49d702a4dd080d25ac' '761db1225098c0834485396d9285e5ff')
+url="http://dvdbackup.sourceforge.net/";
+license=('GPL')
+depends=('libdvdread')
+source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2";)
+md5sums=('e4b35ba716852361f35cecafff44f37c')
 
 build() {
-       cd $startdir/src/libdvdread-0.9.3
-       ./configure --prefix=/usr --disable-warnings
-       make || return 1
-       cp ./dvdread/.libs/libdvdread.a $startdir/src/$pkgname/src
-       cd $startdir/src/$pkgname/src
-       gcc $CFLAGS -I$startdir/src/libdvdread-0.9.3 -c dvdbackup.c -o 
dvdbackup.o
-       gcc -o dvdbackup dvdbackup.o libdvdread.a -ldl
-       install -m 755 -d $startdir/pkg/usr/bin
-       install -m 755 dvdbackup $startdir/pkg/usr/bin
+  cd ${srcdir}/${pkgname}-${pkgver}
+  ./configure --prefix=/usr
+  make || return 1
 }
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  make DESTDIR=${pkgdir} install || return 1
+}

Reply via email to