summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorguihkx2017-05-19 01:38:01 -0700
committerguihkx2017-05-19 01:40:01 -0700
commit526664562a39a3e2fb9546ef18372d95324a5d80 (patch)
tree88ac07689fa7e04ab4d6b0509ff43a419ff99a66 /PKGBUILD
parentc40834db0f7133c0e39a398b18c045fccd08deeb (diff)
downloadaur-526664562a39a3e2fb9546ef18372d95324a5d80.tar.gz
ezthumb-3.6.2
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD45
1 files changed, 29 insertions, 16 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 93c2a3d07ff..f173de05a44 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,28 +1,41 @@
+# Maintainer: gbr <gbr@protonmail.com>
# Maintainer: masutu <masutu dot arch at gmail dot com>
pkgname=ezthumb
-pkgver=3.0.4
+pkgver=3.6.2
pkgrel=1
-pkgdesc="A video thumbnail generator based on ffmpeg."
+pkgdesc='A video thumbnail generator based on ffmpeg.'
arch=('i686' 'x86_64')
-url="http://sourceforge.net/projects/ezthumb/"
+url='https://sourceforge.net/projects/ezthumb/'
license=('GPL3')
-depends=('ffmpeg' 'gd' 'gtk2')
-source=(http://downloads.sourceforge.net/project/${pkgname}/${pkgname}-${pkgver}.tar.gz)
-md5sums=('79ca35f6490b17c03e486b474b5304d8')
+depends=('ffmpeg2.8' 'gd' 'gtk2')
+makedepends=('imagemagick')
+source=("https://downloads.sourceforge.net/project/${pkgname}/${pkgname}-${pkgver}.tar.bz2")
+sha256sums=('a39803fbb97748170cdebf5fb0c56e08ab9b75e48e2527a302655b9021b288c0')
build() {
- msg "Building libcsoup"
- cd "$srcdir/$pkgname-$pkgver/libcsoup"
- make
- msg "Building ezthumb"
- cd "$srcdir/$pkgname-$pkgver/$pkgname"
- make -I "$srcdir/$pkgname-$pkgver/libcsoup"
+ cd "${pkgname}-${pkgver}"
+
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --disable-debug-build \
+ --with-gui=gtk2 \
+ --with-x \
+ LDFLAGS='-L/usr/lib/ffmpeg2.8' CPPFLAGS='-I/usr/include/ffmpeg2.8'
+
+ make
+ make gtkicons
}
package() {
- cd "$srcdir/$pkgname-$pkgver/$pkgname"
- install -Dm0755 ezthumb ${pkgdir}/usr/bin/ezthumb
- install -Dm0644 ezthumb.1 ${pkgdir}/usr/share/man/man1/ezthumb.1
+ cd "${pkgname}-${pkgver}"
+
+ for i in 16 22 24 32 48 128 256; do
+ install -Dm644 "external/icons/${pkgname}${i}.png" "${pkgdir}/usr/share/icons/hicolor/${i}x${i}/apps/${pkgname}.png"
+ done
+ install -Dm755 "${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
+ install -Dm644 "${pkgname}.1" "${pkgdir}/usr/share/man/man1/${pkgname}.1"
+ install -Dm644 "${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
}
-# vim:set ts=2 sw=2 et:
+# vim:set ts=4 sw=4 et: