diff options
author | Britney Fransen <brfransen@gmail.com> | 2013-11-27 23:11:38 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2013-11-27 23:11:38 (GMT) |
commit | 5f089a293712100ad1b1ef07248a65baa7449171 (patch) | |
tree | 37a87d9994a374ea000494c5173441da912dab06 /abs/core/mplayer-wrapper | |
parent | ca24846abef286bd1eabe2be7e252a2b59878ab7 (diff) | |
download | linhes_pkgbuild-5f089a293712100ad1b1ef07248a65baa7449171.zip linhes_pkgbuild-5f089a293712100ad1b1ef07248a65baa7449171.tar.gz linhes_pkgbuild-5f089a293712100ad1b1ef07248a65baa7449171.tar.bz2 |
mplayer-wrapper: change location of Shell. closes #944
Diffstat (limited to 'abs/core/mplayer-wrapper')
-rw-r--r-- | abs/core/mplayer-wrapper/PKGBUILD | 14 | ||||
-rw-r--r-- | abs/core/mplayer-wrapper/mplayer-wrapper.install | 38 | ||||
-rw-r--r-- | abs/core/mplayer-wrapper/mplayer-wrapper.pl | 2 |
3 files changed, 6 insertions, 48 deletions
diff --git a/abs/core/mplayer-wrapper/PKGBUILD b/abs/core/mplayer-wrapper/PKGBUILD index 6dad202..5fa1f99 100644 --- a/abs/core/mplayer-wrapper/PKGBUILD +++ b/abs/core/mplayer-wrapper/PKGBUILD @@ -1,21 +1,17 @@ pkgname=mplayer-wrapper pkgver=1 -pkgrel=10 +pkgrel=11 pkgdesc="wrapper for mplayer and mplayer derivatives" arch=('i686' 'x86_64') - depends=('perl' 'vdpauinfo') - source=(mplayer-wrapper.pl) - license=('GPL2') -build() { +package() { LH_ROOT=/usr/LH - mkdir -p $startdir/pkg/$LH_ROOT/bin/ + mkdir -p $pkgdir/$LH_ROOT/bin/ - cd $startdir # executables - install -m0755 -D *.pl $startdir/pkg/$LH_ROOT/bin/ + install -m0755 -D $srcdir/*.pl $pkgdir/$LH_ROOT/bin/ } -md5sums=('4ba1c0ed16d2331e9d86ab34f4c9eeb1') +md5sums=('da888009e5937e7e3046f5adcb2a604c') diff --git a/abs/core/mplayer-wrapper/mplayer-wrapper.install b/abs/core/mplayer-wrapper/mplayer-wrapper.install deleted file mode 100644 index 18f1b75..0000000 --- a/abs/core/mplayer-wrapper/mplayer-wrapper.install +++ /dev/null @@ -1,38 +0,0 @@ -# This is a default template for a post-install scriptlet. You can -# remove any functions you don't need (and this header). - -# arg 1: the new package version -pre_install() { -/bin/true -} - -# arg 1: the new package version -post_install() { -/bin/true -} - -# arg 1: the new package version -# arg 2: the old package version -pre_upgrade() { - /bin/true -} - -# arg 1: the new package version -# arg 2: the old package version -post_upgrade() { - /bin/true -} - -# arg 1: the old package version -pre_remove() { - /bin/true -} - -# arg 1: the old package version -post_remove() { - /bin/true -} - -op=$1 -shift -$op $* diff --git a/abs/core/mplayer-wrapper/mplayer-wrapper.pl b/abs/core/mplayer-wrapper/mplayer-wrapper.pl index a4c9d64..d938fbf 100644 --- a/abs/core/mplayer-wrapper/mplayer-wrapper.pl +++ b/abs/core/mplayer-wrapper/mplayer-wrapper.pl @@ -1,6 +1,6 @@ #!/usr/bin/perl -use Shell; +use CPAN::Shell; use strict; use POSIX qw(floor); |