[arch-commits] Commit in libdvdcss/trunk (PKGBUILD)
Stéphane Gaudreault
stephane at archlinux.org
Mon Dec 13 12:51:30 UTC 2010
Date: Monday, December 13, 2010 @ 07:51:30
Author: stephane
Revision: 102948
upgpkg: libdvdcss 1.2.10-2
Tidy up PKGBUILD, Rebuild of old package
Modified:
libdvdcss/trunk/PKGBUILD
----------+
PKGBUILD | 25 +++++++++++++++----------
1 file changed, 15 insertions(+), 10 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2010-12-13 12:40:55 UTC (rev 102947)
+++ PKGBUILD 2010-12-13 12:51:30 UTC (rev 102948)
@@ -1,23 +1,28 @@
# $Id$
-# Maintainer: arjan <arjan at archlinux.org>
+# Maintainer: Stéphane Gaudreault <stephane at archlinux.org>
+# Contributor: arjan <arjan at archlinux.org>
# Contributor Sarah Hay <sarahhay at mb.sympatico.ca>
pkgname=libdvdcss
pkgver=1.2.10
-pkgrel=1.1
-pkgdesc="libdvdcss is a cross-platform library for transparent DVD device access with on-the-fly CSS decryption."
+pkgrel=2
+pkgdesc="A portable abstraction library for DVD decryption"
+url="http://www.videolan.org/libdvdcss"
arch=('i686' 'x86_64')
license=('GPL')
depends=('glibc')
options=('!libtool')
-source=(http://download.videolan.org/pub/$pkgname/$pkgver/$pkgname-$pkgver.tar.bz2)
-md5sums=('ebd5370b79ac5a83e5c61b24a214cf74')
-url="http://www.videolan.org/libdvdcss/"
+source=(http://download.videolan.org/pub/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.bz2)
+sha1sums=('7c933d011e34c218048d48f0c1a8b4ff56798dcd')
build() {
- cd $srcdir/$pkgname-$pkgver
- ./configure --prefix=/usr || return 1
- make || return 1
- make DESTDIR=$pkgdir install || return 1
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure --prefix=/usr
+ make
}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="$pkgdir" install
+}
More information about the arch-commits
mailing list