summaryrefslogtreecommitdiff
path: root/community/mpgtx
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-09-13 23:14:39 +0000
committerroot <root@rshg054.dnsready.net>2011-09-13 23:14:39 +0000
commita712dc92423a31a4d3ab34fe660df550feebf442 (patch)
treead93851f4343f00cec2f901e4839da01a8b77efe /community/mpgtx
parentb3a841a1f66eff75be29fba090b83ce4322d4721 (diff)
Tue Sep 13 23:14:39 UTC 2011
Diffstat (limited to 'community/mpgtx')
-rw-r--r--community/mpgtx/PKGBUILD20
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
}