desktop/subtitlecomposer/PKGBUILD
2016-03-23 13:06:06 +01:00

34 lines
1.0 KiB
Bash

#include configuration
source ../kdeapps.conf
pkgname=subtitlecomposer
pkgver=0.6.1
pkgrel=2
pkgdesc="A text-based subtitles editor for KDE"
arch=('x86_64')
url="http://kde-apps.org/content/show.php/Subtitle+Composer?content=162048"
license=('GPL')
depends=('qt5-base' 'kauth' 'kconfig' 'kconfigwidgets' 'kcoreaddons' 'ki18n' 'kio' 'kxmlgui' 'sonnet' 'kross' 'kcodecs' 'ktextwidgets' 'kwidgetsaddons' 'gettext' 'xine-lib' 'icu')
makedepends=('cmake' 'extra-cmake-modules')
optdepends=("mplayer: for MPlayer backend")
categories=('multimedia')
screenshot="http://kde-apps.org/CONTENT/content-pre1/162048-1.png"
source=(https://github.com/maxrd2/$pkgname/archive/v$pkgver.tar.gz)
install="${pkgname}.install"
sha256sums=('a49c7b7e5d8f1137373a65c9110a0934da6d827a7362dd6e7face708582c1d51')
build()
{
cd ${srcdir}/${pkgname}-${pkgver}
mkdir -p build
cd build
cmake_kf5 .. -DCMAKE_INSTALL_PREFIX=/usr -DWITH_GStreamer=OFF
make
}
package()
{
cd ${srcdir}/${pkgname}-${pkgver}/build
make DESTDIR=${pkgdir} install
}