diff options
author | willemw12 | 2015-06-08 12:27:04 +0200 |
---|---|---|
committer | willemw12 | 2015-06-08 12:27:04 +0200 |
commit | 8194a2ea9f009e9c31ce73e4cb33876bd8c164a4 (patch) | |
tree | e1909cc934cec52c5a69052306f55ca49b6b28b6 /PKGBUILD | |
download | aur-8194a2ea9f009e9c31ce73e4cb33876bd8c164a4.tar.gz |
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..a5975cfea60d --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,42 @@ +# Maintainer: willemw <willemw12@gmail.com> +# Contributor: Frikilinux <frikilinux at frikilinux.com.ar> + +pkgname=qeven +pkgver=0.3.2 +pkgrel=5 +pkgdesc="Qt Easy Video Encoder (QEVEN) encodes media files to several video formats (VCD,DVD,SVCD,DIVX,XVID,FLV). Uses MEncoder and MPlayer." +arch=('i686' 'x86_64') +url="http://qeven.wordpress.com/" +license=('GPL3') +depends=('mencoder' 'mplayer' 'qt4') +source=(http://downloads.sourceforge.net/$pkgname/${pkgname}_$pkgver.tar.bz2 + qeven.desktop) +sha256sums=('8c80b97e17f8eda60c0d5af71837dd6c9d9869dceace590b189a0030a8fc3366' + 'd6d670253e0f0b18738485edcf7f27faca7f65fb6300dc9475e8d8f2f1fe3e0f') + +prepare() { + cd ${pkgname}_$pkgver + # Fix: update mencoder command line options + sed -i "s/:cbp:/:o=mpv_flags=+cbp_rd:/" Core/video_item.cpp +} + +build() { + cd ${pkgname}_$pkgver + qmake-qt4 QEVEN.pro + make +} + +package() { + install -Dm644 qeven.desktop "$pkgdir/usr/share/applications/qeven.desktop" + + cd ${pkgname}_$pkgver + + install -Dm755 QEVEN "$pkgdir/usr/bin/qeven" + + install -Dm644 "Image/qeven(64x64).png" "$pkgdir/usr/share/pixmaps/qeven.png" + + install -dm755 "$pkgdir/usr/share/qeven/"{fonts,translation} + install -m644 Fonts/* "$pkgdir/usr/share/qeven/fonts" + install -m644 translation/*.qm "$pkgdir/usr/share/qeven/translation" +} + |