summaryrefslogtreecommitdiffstats
path: root/abs/extra
diff options
context:
space:
mode:
authorMichael Hanson <hansonorders@verizon.net>2010-12-03 03:31:41 (GMT)
committerMichael Hanson <hansonorders@verizon.net>2010-12-03 03:31:41 (GMT)
commit96e386c436555285f0101fe5af35387023f54d34 (patch)
treeb62dbfad66e8f52ff9e878040cfdbd596e5a673a /abs/extra
parentd31e6d5a5c58f3673869ac14f1e508dc88ad9a26 (diff)
downloadlinhes_pkgbuild-96e386c436555285f0101fe5af35387023f54d34.zip
linhes_pkgbuild-96e386c436555285f0101fe5af35387023f54d34.tar.gz
linhes_pkgbuild-96e386c436555285f0101fe5af35387023f54d34.tar.bz2
mpgtx: upgrade
Diffstat (limited to 'abs/extra')
-rw-r--r--abs/extra/mpgtx/PKGBUILD27
1 files changed, 17 insertions, 10 deletions
diff --git a/abs/extra/mpgtx/PKGBUILD b/abs/extra/mpgtx/PKGBUILD
index 1181564..8474da3 100644
--- a/abs/extra/mpgtx/PKGBUILD
+++ b/abs/extra/mpgtx/PKGBUILD
@@ -1,16 +1,23 @@
-pkgname="mpgtx"
-pkgver="1.3.1"
-pkgrel=1
-arch=('i686')
-pkgdesc="mpgtx is a commandline MPEG audio/video/system file toolbox."
-url="http://mpgtx.sourceforge.net/"
-source=(http://downloads.sourceforge.net/project/mpgtx/mpgtx/$pkgver/mpgtx-$pkgver.tar.gz)
+# $Id: PKGBUILD 5185 2009-11-07 02:20:01Z dgriffiths $
+# Contributor: Peter Baldwin <bald_pete@hotmail.com>
+pkgname=mpgtx
+pkgver=1.3.1
+pkgrel=2
+pkgdesc="A command line MPEG audio/video/system toolkit"
+arch=('i686' 'x86_64')
+url="http://mpgtx.sourceforge.net"
+license=("GPL")
+depends=()
+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 INSTALLDIR=$startdir/pkg/usr/bin MANDIR=$startdir/pkg/usr/man/man1 MANDIRDE=$startdir/usr/man/de/man1 install
}
-
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ make PREFIX=${pkgdir}/usr install
+ mv ${pkgdir}/usr/man ${pkgdir}/usr/share/
+}