[arch-commits] Commit in gst-plugins-base/trunk (PKGBUILD)

Jan Steffens heftig at archlinux.org
Wed Oct 3 15:52:49 UTC 2012


    Date: Wednesday, October 3, 2012 @ 11:52:49
  Author: heftig
Revision: 167891

simplify

Modified:
  gst-plugins-base/trunk/PKGBUILD

----------+
 PKGBUILD |   11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-10-03 15:50:57 UTC (rev 167890)
+++ PKGBUILD	2012-10-03 15:52:49 UTC (rev 167891)
@@ -5,6 +5,7 @@
 pkgname=('gst-plugins-base-libs' 'gst-plugins-base')
 pkgver=1.0.0
 pkgrel=1
+pkgdesc="GStreamer Multimedia Framework Base Plugins"
 arch=('i686' 'x86_64')
 license=('LGPL')
 makedepends=('pkgconfig' 'gstreamer' 'orc' 'libxv' 'alsa-lib' 'cdparanoia' 'libvisual' 'libvorbis' 'libtheora' 'pango' 'gobject-introspection')
@@ -14,20 +15,19 @@
 sha256sums=('4b98a74712e31d5426dd1cf2de883b6af59fd37997b0ffaed53914eb6df45053')
 
 build() {
-  cd "${srcdir}/$pkgbase-${pkgver}"
+  cd $pkgbase-$pkgver
   sed -i '/AC_PATH_XTRA/d' configure.ac
   autoreconf
   ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
     --disable-static --enable-experimental \
     --with-package-name="GStreamer Base Plugins (Archlinux)" \
     --with-package-origin="http://www.archlinux.org/"
-
   make
   sed -e 's/^SUBDIRS_EXT =.*/SUBDIRS_EXT =/' -i Makefile
 }
 
 check() {
-  cd "${srcdir}/gst-plugins-base-${pkgver}"
+  cd $pkgbase-$pkgver
   # Testsuite fails on one test. Some refcount leak
   #make check
 }
@@ -36,15 +36,14 @@
   pkgdesc="GStreamer Multimedia Framework Base Plugin libraries"
   depends=('gstreamer' 'orc' 'libxv')
 
-  cd "${srcdir}/$pkgbase-${pkgver}"
+  cd $pkgbase-$pkgver
   make DESTDIR="${pkgdir}" install
 }
 
 package_gst-plugins-base() {
-  pkgdesc="GStreamer Multimedia Framework Base Plugins"
   depends=("gst-plugins-base-libs=$pkgver" 'alsa-lib' 'cdparanoia' 'libvisual' 'libvorbis' 'libtheora' 'pango')
 
-  cd "${srcdir}/$pkgbase-${pkgver}"
+  cd $pkgbase-$pkgver
   make -C gst-libs DESTDIR="${pkgdir}" install
   make -C ext DESTDIR="${pkgdir}" install
   make -C gst-libs DESTDIR="${pkgdir}" uninstall




More information about the arch-commits mailing list