summaryrefslogtreecommitdiff
path: root/kde-unstable/kdemultimedia-mplayerthumbs/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'kde-unstable/kdemultimedia-mplayerthumbs/PKGBUILD')
-rw-r--r--kde-unstable/kdemultimedia-mplayerthumbs/PKGBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/kde-unstable/kdemultimedia-mplayerthumbs/PKGBUILD b/kde-unstable/kdemultimedia-mplayerthumbs/PKGBUILD
new file mode 100644
index 000000000..32fed8740
--- /dev/null
+++ b/kde-unstable/kdemultimedia-mplayerthumbs/PKGBUILD
@@ -0,0 +1,29 @@
+# $Id: PKGBUILD 160156 2012-05-29 23:03:24Z andrea $
+# Maintainer: Andrea Scarpino <andrea@archlinux.org>
+
+pkgname=kdemultimedia-mplayerthumbs
+pkgver=4.8.80
+pkgrel=1
+pkgdesc="MPlayer based thumbnail generator for video files"
+url='https://projects.kde.org/projects/kde/kdemultimedia/mplayerthumbs'
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+depends=('kdebase-runtime' 'mplayer')
+makedepends=('cmake' 'automoc4')
+source=("http://download.kde.org/unstable/${pkgver}/src/mplayerthumbs-${pkgver}.tar.xz")
+sha1sums=('44f530ac94b1b5b4051579e407dd6a98636be1eb')
+
+build() {
+ cd "${srcdir}"
+ mkdir build
+ cd build
+ cmake ../mplayerthumbs-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}"/build
+ make DESTDIR="${pkgdir}" install
+}