diff options
-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); |