summaryrefslogtreecommitdiff
path: root/libre/mplayer-parabola
diff options
context:
space:
mode:
Diffstat (limited to 'libre/mplayer-parabola')
-rw-r--r--libre/mplayer-parabola/PKGBUILD15
1 files changed, 7 insertions, 8 deletions
diff --git a/libre/mplayer-parabola/PKGBUILD b/libre/mplayer-parabola/PKGBUILD
index 1ca89bb20..6c165c852 100644
--- a/libre/mplayer-parabola/PKGBUILD
+++ b/libre/mplayer-parabola/PKGBUILD
@@ -5,8 +5,7 @@
# Maintainer: André Silva <emulatorman@parabola.nu>
# Contributor: Márcio Silva <coadde@parabola.nu>
-_pkgbase=mplayer
-pkgbase=mplayer-parabola
+pkgbase=mplayer
pkgname=('mplayer-parabola' 'mencoder-parabola')
pkgver=37224
pkgrel=2
@@ -22,7 +21,7 @@ makedepends=(
license=('GPL')
url='http://www.mplayerhq.hu/'
options=('!buildflags' '!emptydirs')
-source=($_pkgbase-$pkgver::svn://svn.mplayerhq.hu/mplayer/trunk#revision=$pkgver
+source=($pkgbase-$pkgver::svn://svn.mplayerhq.hu/mplayer/trunk#revision=$pkgver
http://ffmpeg.org/releases/ffmpeg-2.2.5.tar.bz2
mplayer.desktop
cdio-includes.patch
@@ -38,12 +37,12 @@ md5sums=('SKIP'
'3579402002b7302fdf2d146639333efd')
pkgver() {
- cd $_pkgbase-$pkgver
+ cd $pkgbase-$pkgver
svnversion
}
prepare() {
- cd $_pkgbase-$pkgver
+ cd $pkgbase-$pkgver
mv ../ffmpeg-2.2.5 ./ffmpeg
patch -p0 -i ../cdio-includes.patch
@@ -55,7 +54,7 @@ prepare() {
}
build() {
- cd $_pkgbase-$pkgver
+ cd $pkgbase-$pkgver
./configure --prefix=/usr \
--enable-runtime-cpudetection \
@@ -98,7 +97,7 @@ package_mplayer-parabola() {
replaces=('mplayer' 'mplayer-libre')
conflicts=('mplayer' 'mplayer-libre')
- cd $_pkgbase-$pkgver
+ cd $pkgbase-$pkgver
make DESTDIR="$pkgdir" install-mplayer install-mplayer-man
install -Dm644 etc/{codecs.conf,input.conf,example.conf} \
@@ -124,6 +123,6 @@ package_mencoder-parabola() {
replaces=('mencoder' 'mencoder-libre')
conflicts=('mencoder' 'mencoder-libre')
- make -C $_pkgbase-$pkgver DESTDIR="$pkgdir" install-mencoder install-mencoder-man
+ make -C $pkgbase-$pkgver DESTDIR="$pkgdir" install-mencoder install-mencoder-man
find "$pkgdir"/usr/share/man -name mplayer.1 -exec rename mplayer.1 mencoder.1 {} +
}