desktop/subtitlecomposer/PKGBUILD
2017-10-17 01:38:03 +01:00

32 lines
1.0 KiB
Bash

#include configuration
source ../kdeapps.conf
pkgname=subtitlecomposer
pkgver=0.6.5
pkgrel=1
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=('26503c5f7ede37f482bd2da6b4acc8df83c0e5c18f38df011ce0f567a1422563')
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
}