[arch-commits] Commit in vlc/trunk (PKGBUILD)

Bartłomiej Piotrowski bpiotrowski at nymeria.archlinux.org
Fri Aug 2 08:43:53 UTC 2013


    Date: Friday, August 2, 2013 @ 10:43:53
  Author: bpiotrowski
Revision: 191969

upgpkg: vlc 2.0.8.a-1

- new upstream release

Modified:
  vlc/trunk/PKGBUILD

----------+
 PKGBUILD |   14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-08-02 08:00:53 UTC (rev 191968)
+++ PKGBUILD	2013-08-02 08:43:53 UTC (rev 191969)
@@ -4,7 +4,7 @@
 # Contributor: Martin Sandsmark <martin.sandsmark at kde.org>
 
 pkgname=vlc
-pkgver=2.0.8
+pkgver=2.0.8.a
 pkgrel=1
 pkgdesc="A multi-platform MPEG, VCD/DVD, and DivX player"
 arch=('i686' 'x86_64')
@@ -56,13 +56,13 @@
         'usr/share/vlc/lua/http/dialogs/.hosts')
 options=('!libtool' '!emptydirs')
 install=vlc.install
-source=("http://download.videolan.org/pub/videolan/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.xz"
+source=("http://download.videolan.org/pub/videolan/${pkgname}/${pkgver/.a}/${pkgname}-${pkgver/.a/a}.tar.xz"
         vlc-2.0.7-vaapi-compat.patch)
-md5sums=('3b0e465b0990097b65abaf3e25589957'
+md5sums=('e5000677181406d026ffe448633d1ca0'
          '6df10774bb7acf20e09d6139e5c7839e')
 
 prepare() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
+  cd "${srcdir}/${pkgname}-${pkgver/.a}"
 
   patch -Np1 -i ../vlc-2.0.7-vaapi-compat.patch
 
@@ -71,7 +71,7 @@
 }
 
 build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
+  cd "${srcdir}/${pkgname}-${pkgver/.a}"
 
   CFLAGS+="-I/usr/include/samba-4.0" CPPFLAGS+="-I/usr/include/samba-4.0" \
   PKG_CONFIG_PATH+="/usr/lib/ffmpeg-compat/pkgconfig" \
@@ -98,12 +98,12 @@
 }
 
 package() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
+  cd "${srcdir}/${pkgname}-${pkgver/.a}"
 
   make DESTDIR="${pkgdir}" install
 
   for res in 16 32 48 128; do
-    install -D -m644 "${srcdir}/vlc-${pkgver}/share/icons/${res}x${res}/vlc.png" \
+    install -D -m644 "${srcdir}/vlc-${pkgver/.a}/share/icons/${res}x${res}/vlc.png" \
         "${pkgdir}/usr/share/icons/hicolor/${res}x${res}/apps/vlc.png"
   done
 }




More information about the arch-commits mailing list