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

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


    Date: Wednesday, October 3, 2012 @ 11:49:36
  Author: heftig
Revision: 167889

simplify

Modified:
  gst-plugins-bad/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-10-03 15:19:46 UTC (rev 167888)
+++ PKGBUILD	2012-10-03 15:49:36 UTC (rev 167889)
@@ -11,11 +11,11 @@
 depends=('mjpegtools' 'gst-plugins-base-libs' 'curl' 'chromaprint' 'libmms' 'faad2' 'mpg123' 'faac' 'celt' 'libdca' 'soundtouch' 'spandsp' 'libdvdnav' 'libmodplug' 'libgme' 'opus')
 makedepends=('gstreamer' 'schroedinger' 'gtk3' 'libexif' 'libdvdread' 'libvdpau' 'libmpeg2')
 options=(!libtool !emptydirs)
-source=(${url}/src/gst-plugins-bad/gst-plugins-bad-${pkgver}.tar.xz)
+source=(${url}/src/$pkgname/$pkgname-$pkgver.tar.xz)
 md5sums=('f2d2c432917fb639a510bb3ce85c5329')
 
 build() {
-  cd "${srcdir}/gst-plugins-bad-${pkgver}"
+  cd $pkgname-$pkgver
   sed -i '/AC_PATH_XTRA/d' configure.ac
   autoreconf
   ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
@@ -27,11 +27,11 @@
 }
 
 check() {
-  cd "${srcdir}/gst-plugins-bad-${pkgver}"
+  cd $pkgname-$pkgver
   make check
 }
 
 package() {
-  cd "${srcdir}/gst-plugins-bad-${pkgver}"
+  cd $pkgname-$pkgver
   make DESTDIR="${pkgdir}" install
 }




More information about the arch-commits mailing list