diff options
Diffstat (limited to 'community/mpgtx/PKGBUILD')
-rw-r--r-- | community/mpgtx/PKGBUILD | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/community/mpgtx/PKGBUILD b/community/mpgtx/PKGBUILD index e54ebb65c..42c9a8080 100644 --- a/community/mpgtx/PKGBUILD +++ b/community/mpgtx/PKGBUILD @@ -1,20 +1,24 @@ -# $Id: PKGBUILD 5259 2009-11-07 12:46:05Z ibiru $ +# $Id: PKGBUILD 55451 2011-09-12 23:46:30Z ebelanger $ # Contributor: Peter Baldwin <bald_pete@hotmail.com> + pkgname=mpgtx pkgver=1.3.1 -pkgrel=2 +pkgrel=3 pkgdesc="A command line MPEG audio/video/system toolkit" arch=('i686' 'x86_64') url="http://mpgtx.sourceforge.net" -license=("GPL") -depends=() +license=('GPL') +depends=('gcc-libs') source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz) md5sums=('d628060aa04ad3b40a175bf35f5167cf') build() { - cd $startdir/src/$pkgname-$pkgver + cd "$srcdir/$pkgname-$pkgver" ./configure --prefix=/usr - make || return 1 - make PREFIX=$startdir/pkg/usr install - mv ${pkgdir}/usr/man ${pkgdir}/usr/share/ + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make PREFIX="$pkgdir/usr" manprefix="${pkgdir}/usr/share" install } |