diff options
Diffstat (limited to 'libre')
-rw-r--r-- | libre/lirc-parabola/PKGBUILD | 10 | ||||
-rw-r--r-- | libre/mplayer-parabola/PKGBUILD | 15 |
2 files changed, 11 insertions, 14 deletions
diff --git a/libre/lirc-parabola/PKGBUILD b/libre/lirc-parabola/PKGBUILD index 1b5ee0bca..a6bc51d22 100644 --- a/libre/lirc-parabola/PKGBUILD +++ b/libre/lirc-parabola/PKGBUILD @@ -7,8 +7,8 @@ _basekernel=3.16 _kernelname= -_pkgname=lirc-parabola${_kernelname} -pkgbase=$_pkgname +_pkgname=lirc${_kernelname}-parabola +pkgbase=${_pkgname%-*} pkgname=("$_pkgname" lirc-utils-parabola) _pkgver=0.9.1a [[ $_pkgver =~ [a-z]$ ]] && pkgver="${_pkgver:0:-1}.${_pkgver: -1}" || pkgver="$_pkgver" @@ -27,8 +27,8 @@ makedepends+=("linux-libre${_kernelname}>=${_basekernel}" "linux-libre${ "linux-libre${_kernelname}-headers>=${_basekernel}" "linux-libre${_kernelname}-headers<${_toohigh}") options=('!makeflags' '!strip') -source=("http://prdownloads.sourceforge.net/lirc/lirc-${_pkgver}.tar.bz2" - "wpc8769l-build-fix.patch" +source=("http://prdownloads.sourceforge.net/${pkgbase}/${pkgbase}-${_pkgver}.tar.bz2" + wpc8769l-build-fix.patch lirc-0.9.1a-fix-segfaults.patch lirc.logrotate irexec.service @@ -122,5 +122,3 @@ package_lirc-utils-parabola() { # remove built modules rm -r "${pkgdir}/usr/lib/modules" } - -# vim: ts=2 sw=2 et: 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 {} + } |