summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9ef6b89a77114202afc34d7feb515971a69ad1c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Contributor: Olivier Mehani <shtrom-aur@ssji.net>
pkgname=rox-thumbnailers
pkgver=1.0
pkgrel=1
pkgdesc="ROX-thumbnailers generate thumbnails for ROX-Filer using various thumbnailers."
arch=(i686 x86_64)
url="http://yurib.gitlab.io/"
license=('GPL')
groups=(rox)
depends=(rox rox-lib)
makedepends=(python2)
optdepends=(
  'ffmpegthumbnailer: for video thumbnails using ffmpeg'
  'totem: for video thumbnails using GStreamer'
  'totem-xine: for video thumbnails using Xine'
  'evince: for PDF/PS/DVI documents'
  'raw-thumbnailer: for raw images'
  'comix: for comic book archives'
  'thunar-thumbnailers: for TeX, Grace and OpenDocument thumbnails'
)
# Nonexistent ArchLinux packages:
#  gnome-nds-thumbnailer
#  swfdec-thumbnailer
#  gnome-xcf-thumbnailer
#install=rox-thumbnailers.install
source=(https://sites.google.com/site/yuribongiorno/ROX-thumbnailers_${pkgver}.0.tgz)
md5sums=('c53e7eb42e54fc8a0673dbf78456d441')

build() {
  cd "$srcdir/ROX-thumbnailers"

  python2 -m compileall .
  python2 -O -m compileall .
}

package() {
  cd "$srcdir/ROX-thumbnailers"

  mkdir -p $pkgdir/usr/share/apps
  cp -R $srcdir/ROX-thumbnailers $pkgdir/usr/share/apps
}

# vim:set ts=2 sw=2 et: