summaryrefslogtreecommitdiff
path: root/libre/mplayer-parabola/PKGBUILD
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-08-26 21:11:10 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-08-26 21:11:10 -0300
commitc1c3c73e24de354a1237ed4a3b23daf656db6797 (patch)
tree7174ffb524948761ef7f33778369e5c2f060d30c /libre/mplayer-parabola/PKGBUILD
parente96423b261d094f18bd81b1941ba6b07ec1fa4c5 (diff)
downloadabslibre-c1c3c73e24de354a1237ed4a3b23daf656db6797.tar.gz
abslibre-c1c3c73e24de354a1237ed4a3b23daf656db6797.tar.bz2
abslibre-c1c3c73e24de354a1237ed4a3b23daf656db6797.zip
{lirc,mplayer}-parabola: keep same pkgbase than Arch because are non-patched packages, sometimes pkgbase are useful to put on groups for split packages
Diffstat (limited to 'libre/mplayer-parabola/PKGBUILD')
-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 {} +
}