desktop/subtitlecomposer/PKGBUILD

37 lines
1.1 KiB
Bash

#include configuration
source ../kdeapps.conf
pkgname=subtitlecomposer
pkgver=0.6.6
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=('6cd1d74f7934cdaa5d492f47da4143bd096a6196f2afcb2827cada9a3cdb2ea4')
build() {
cd ${pkgname}-${pkgver}
mkdir -p build
cd build
cmake \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DKDE_INSTALL_LIBDIR=lib \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
-DBUILD_TESTING=OFF ..
make
}
package() {
cd ${pkgname}-${pkgver}/build
make DESTDIR=${pkgdir} install
}