[arch-commits] Commit in libdvdread/trunk (PKGBUILD libdvdread.install)
Eric Bélanger
eric at archlinux.org
Fri Apr 10 04:37:04 UTC 2009
Date: Friday, April 10, 2009 @ 00:37:04
Author: eric
Revision: 34550
upgpkg: libdvdread 0.9.7-2
Added license, Replaced install scriptlet by optdepends
Modified:
libdvdread/trunk/PKGBUILD
Deleted:
libdvdread/trunk/libdvdread.install
--------------------+
PKGBUILD | 15 ++++++++-------
libdvdread.install | 11 -----------
2 files changed, 8 insertions(+), 18 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2009-04-10 04:35:10 UTC (rev 34549)
+++ PKGBUILD 2009-04-10 04:37:04 UTC (rev 34550)
@@ -4,20 +4,21 @@
pkgname=libdvdread
pkgver=0.9.7
-pkgrel=1
+pkgrel=2
+pkgdesc="libdvdread provides a simple foundation for reading DVD video disks"
arch=(i686 x86_64)
-pkgdesc="libdvdread provides a simple foundation for reading DVD video disks"
+url="http://www.dtek.chalmers.se/groups/dvd/downloads.shtml"
+license=('GPL')
depends=('glibc')
makedepends=('libdvdcss')
-install=$pkgname.install
+optdepends=('libdvdcss: for decoding encrypted DVDs')
options=('!libtool')
source=(http://www.dtek.chalmers.se/groups/dvd/dist/$pkgname-$pkgver.tar.gz)
-url="http://www.dtek.chalmers.se/groups/dvd/downloads.shtml"
md5sums=('078788c9241ae16763529e1235502337')
build() {
- cd $startdir/src/$pkgname-$pkgver
- ./configure --prefix=/usr
+ cd $srcdir/$pkgname-$pkgver
+ ./configure --prefix=/usr || return 1
make || return 1
- make DESTDIR=$startdir/pkg install
+ make DESTDIR=$pkgdir install || return 1
}
Deleted: libdvdread.install
===================================================================
--- libdvdread.install 2009-04-10 04:35:10 UTC (rev 34549)
+++ libdvdread.install 2009-04-10 04:37:04 UTC (rev 34550)
@@ -1,11 +0,0 @@
-post_install() {
- echo "==> If you want to decode encrypted DVDs, you also need the libdvdcss package."
-}
-
-post_upgrade() {
- post_install
-}
-
-op=$1
-shift
-$op $*
More information about the arch-commits
mailing list