desktop/kdemultimedia-mplayerthumbs/PKGBUILD

33 lines
831 B
Bash
Raw Normal View History

2015-12-05 07:26:22 +08:00
# Include global configuration
source ../kdeapps.conf
pkgname=kdemultimedia-mplayerthumbs
_pkgname=mplayerthumbs
pkgver=${_kdever}
pkgrel=1
pkgdesc="MPlayer based thumbnail generator for video files"
url='https://projects.kde.org/projects/kde/kdemultimedia/mplayerthumbs'
arch=('x86_64')
groups=('kde-applications' 'kdemultimedia')
license=('GPL' 'LGPL' 'FDL')
depends=('kdebase-runtime' 'mplayer')
makedepends=('cmake' 'automoc4')
source=("$_mirror/${_pkgname}-$_kdever.tar.xz")
sha256sums=(`grep ${_pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d " " -f1`)
build() {
cd "${srcdir}"
mkdir -p build
cd build
cmake ../${_pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DKDE4_BUILD_TESTS=OFF \
-DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
cd "${srcdir}"/build
make DESTDIR="${pkgdir}" install
}