desktop/ffmpegthumbs/PKGBUILD

34 lines
894 B
Bash
Raw Normal View History

2015-12-14 07:32:19 +08:00
source ../kdeapps.conf
pkgname=ffmpegthumbs
2016-01-11 06:02:12 +08:00
pkgver=${_kdever}
2017-03-12 21:05:28 +08:00
pkgrel=2
pkgdesc='FFmpeg-based thumbnail creator for video files'
url='https://projects.kde.org/ffmpegthumbs'
arch=(x86_64)
license=(GPL LGPL FDL)
#groups=(kde-applications kdemultimedia)
depends=(kio ffmpeg)
makedepends=(extra-cmake-modules git)
conflicts=(kdemultimedia-ffmpegthumbs kdemultimedia-thumbnailers kdemultimedia-mplayerthumbs kffmpegthumbnailer)
replaces=(kdemultimedia-ffmpegthumbs kdemultimedia-thumbnailers kdemultimedia-mplayerthumbs kffmpegthumbnailer)
source=("$_mirror/${pkgname}-$_kdever.tar.xz"{,.sig})
sha256sums=("`grep ${pkgname}-$_kdever.tar.xz ../kdeapps.sums | cut -d " " -f1`"
'SKIP')
validpgpkeys=(${Avalidpgpkeys})
prepare() {
mkdir -p build
}
build() {
cd build
2015-12-14 07:32:19 +08:00
cmake_kf5 ../${pkgbase}-${pkgver}
make
}
package() {
cd build
make DESTDIR="$pkgdir" install
}