mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-12 09:14:38 +08:00
55 lines
1.6 KiB
Bash
55 lines
1.6 KiB
Bash
#
|
|
# Chakra Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
|
|
pkgname=2mandvd
|
|
pkgver=1.7.3
|
|
pkgrel=2
|
|
pkgdesc="DVD Authoring Maker In Linux Environment."
|
|
url="http://2mandvd.tuxfamily.org/"
|
|
license=('GPL')
|
|
arch=('i686' 'x86_64')
|
|
install="2mandvd.install"
|
|
depends=('qt>=4.6' 'sox' 'mplayer' 'perl' 'netpbm' 'transcode' 'ffmpegthumbnailer' 'dvdauthor' 'mjpegtools' 'ttf-dejavu' 'dvd+rw-tools' 'exif')
|
|
optdepends=('xine-ui: to preview the result')
|
|
source=("http://download.tuxfamily.org/2mandvd/2ManDVD-${pkgver}.tar.gz"
|
|
'2mandvd.desktop'
|
|
'2mandvd.sh')
|
|
md5sums=('5ca9fcbcb366a9119da09a2217cb8ff2'
|
|
'1eaaeef9a5e7896482d51d489b781689'
|
|
'0112971f170034aff6efaafb9508b010')
|
|
|
|
build() {
|
|
cd "${srcdir}/2ManDVD"
|
|
|
|
qmake 2ManDVD.pro
|
|
|
|
make
|
|
}
|
|
|
|
package(){
|
|
cd "${srcdir}/2ManDVD"
|
|
|
|
install -d -m755 "${pkgdir}/opt/2ManDVD" "${pkgdir}/usr/bin"
|
|
cp -R Bibliotheque Interface 2ManDVD fake.pl *.qm README.txt "${pkgdir}/opt/2ManDVD"
|
|
install -D -m755 "${srcdir}/2mandvd.sh" "${pkgdir}/usr/bin/2ManDVD"
|
|
|
|
# Fixing some right problems
|
|
cd "${pkgdir}/opt/2ManDVD"
|
|
find . -type f -print0 | xargs -0 -n1 chmod 644
|
|
|
|
chmod 755 Bibliotheque Interface
|
|
chmod +x 2ManDVD
|
|
cd "${pkgdir}/opt/2ManDVD/Bibliotheque"
|
|
chmod -R 777 *
|
|
|
|
# Creating menu item
|
|
install -D -m644 "${srcdir}/2ManDVD/Interface/mandvd.png" "${pkgdir}/usr/share/pixmaps/2mandvd.png"
|
|
install -D -m644 "${srcdir}/2mandvd.desktop" "${pkgdir}/usr/share/applications/2mandvd.desktop"
|
|
}
|
|
|
|
# vim:set ts=2 sw=2 et:
|