desktop/subtitlecomposer/PKGBUILD

39 lines
971 B
Bash

#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer (x86_64): Francesco Marinucci <franzmari[at]chakra-project[dot]it>
pkgname=subtitlecomposer
pkgver=0.5.6
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=('kdelibs' 'gettext' 'gstreamer0.10-base')
makedepends=('cmake' 'automoc4')
optdepends=("mplayer: for MPlayer backend"
"mplayer2: for MPlayer backend"
"xine-lib: for Xine 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)
md5sums=('8b48fbb99f5e10312670367024aa6fe2')
build()
{
cd ${srcdir}/${pkgname}-${pkgver}
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr
make
}
package()
{
cd ${srcdir}/${pkgname}-${pkgver}/build
make DESTDIR=${pkgdir} install
}