PKGBUILDs/subtitlecomposer/default/PKGBUILD

39 lines
1.2 KiB
Bash
Raw Normal View History

2015-09-03 01:54:40 +02:00
# Maintainer: Martchus <martchus@gmx.net>
# Contributor: Mladen Milinkovic <maxrd2@smoothware.net>
# You can install/update Subtitle Composer from repository if you add following to /etc/pacman.conf
# [subtitlecomposer]
# # Subtitle Composer
# SigLevel = PackageRequired
# Server = http://smoothware.net/$repo/$arch
pkgname=subtitlecomposer
pkgver=0.5.7
2015-11-08 00:12:21 +01:00
pkgrel=3
2015-09-03 01:54:40 +02:00
pkgdesc="A KDE subtitle editor"
arch=('i686' 'x86_64')
url="https://github.com/maxrd2/subtitlecomposer"
license=('GPL')
depends=('kdelibs' 'gettext')
makedepends=('cmake' 'automoc4' 'git')
conflicts=('subtitlecomposer-git')
2015-12-24 16:50:30 +01:00
optdepends=('mplayer: for MPlayer backend'
'mplayer2: for MPlayer backend'
'gstreamer: for GStreamer backend'
'xine-lib: for Xine backend')
2015-09-03 01:54:40 +02:00
source=("https://github.com/maxrd2/subtitlecomposer/archive/v${pkgver}.tar.gz")
md5sums=('9e1fef4dca5a15e5c0435f1b099d4ab4')
build() {
2015-12-24 16:50:30 +01:00
cd ${srcdir}/subtitlecomposer-${pkgver}
cmake -DCMAKE_INSTALL_PREFIX=/usr
# workaround for "gst/gstconfig.h: No such file or directory"
export CPATH=/usr/lib/gstreamer-1.0/include
make
2015-09-03 01:54:40 +02:00
}
package() {
2015-12-24 16:50:30 +01:00
cd ${srcdir}/subtitlecomposer-${pkgver}
make DESTDIR=${pkgdir} install
2015-09-03 01:54:40 +02:00
}