summaryrefslogtreecommitdiff
path: root/community/mandvd/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/mandvd/PKGBUILD')
-rw-r--r--community/mandvd/PKGBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/community/mandvd/PKGBUILD b/community/mandvd/PKGBUILD
new file mode 100644
index 000000000..3519ac8dd
--- /dev/null
+++ b/community/mandvd/PKGBUILD
@@ -0,0 +1,37 @@
+# $Id: PKGBUILD 87997 2013-04-09 21:40:35Z eric $
+# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
+# Contributor: JJDaNiMoTh <jjdanimoth.aur@gmail.com>
+# Contributor: Jesus Lazaro Plaza <jesuslazaro84@gmail.com>
+
+pkgname=mandvd
+pkgver=2.6
+pkgrel=2
+pkgdesc="A program to simply create DVD Video"
+arch=('i686' 'x86_64')
+url="http://www.kde-apps.org/content/show.php/ManDVD?content=83906"
+license=('GPL')
+depends=('dvd+rw-tools>=5.21.4' 'dvd-slideshow>=0.7.5' 'mjpegtools>=1.8.0' 'mplayer' 'qt3' 'xine-ui>=0.99.4')
+changelog=$pkgname.changelog
+source=(http://vectorlinux.osuosl.org/veclinux-7.0/source/abs/xap/$pkgname/$pkgname-$pkgver-1.fc12.tar.gz)
+sha256sums=('967fd66da31f0619001b3aaea494ab41579ab7ffdc6a1b0a51a4a4add012eb9c')
+
+build() {
+ cd ${srcdir}/$pkgname-$pkgver
+
+ qmake-qt3
+ sed -i "s|O2|O1|" ./Makefile
+ sed -i 's|-I$(QTDIR)/include|-I/usr/include/qt3|' Makefile
+ sed -i '55 i\#include <unistd.h>' main.cpp
+ sed -i '28 i\#include <unistd.h>' mandvd.cpp
+ make QTDIR=/usr MOC=/usr/bin/moc-qt3 UIC=/usr/bin/uic-qt3
+}
+
+package() {
+ cd ${srcdir}/$pkgname-$pkgver
+
+ install -D -m755 $pkgname ${pkgdir}/usr/bin/$pkgname
+
+# Creating menu item
+ install -D -m644 mandvdico.png ${pkgdir}/usr/share/pixmaps/$pkgname.png
+ install -D -m644 $pkgname.desktop ${pkgdir}/usr/share/applications/$pkgname.desktop
+}