diff --git a/subtitlecomposer/PKGBUILD b/subtitlecomposer/PKGBUILD index 272028519..876c6803b 100644 --- a/subtitlecomposer/PKGBUILD +++ b/subtitlecomposer/PKGBUILD @@ -3,7 +3,7 @@ source ../kdeapps.conf pkgname=subtitlecomposer pkgver=0.6.6 -pkgrel=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" @@ -18,14 +18,19 @@ install="${pkgname}.install" sha256sums=('6cd1d74f7934cdaa5d492f47da4143bd096a6196f2afcb2827cada9a3cdb2ea4') build() { - cd ${srcdir}/${pkgname}-${pkgver} + cd ${pkgname}-${pkgver} mkdir -p build cd build - cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DWITH_GStreamer=OFF + 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 ${srcdir}/${pkgname}-${pkgver}/build + cd ${pkgname}-${pkgver}/build make DESTDIR=${pkgdir} install }