blob: 78a1bfbc6731f623aca40cd4e66b7bb7c8066f80 (
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
|
# Author: wifiextender <aaron_caffrey at hotmail dot com>
# Maintainer: Alexandru Ianu <alexandru.ianu at gmail.com>
pkgname=pdf2img-c
pkgver=7.3996db9
pkgrel=1
pkgdesc="Easily convert PDF to multiple image formats with a single click. C version of pdf2img."
arch=('any')
url="https://github.com/wifiextender/pdf2png"
license=('GPL3')
conflicts=('pdf2img' 'pdf2img-git')
replaces=('pdf2img')
depends=('gtk3' 'glibc' 'ghostscript')
makedepends=('git' 'pkg-config' 'gcc' 'gettext' 'intltool' 'autoconf')
source=('git+https://github.com/su8/pdf2img-c.git')
md5sums=('SKIP')
build() {
cd $srcdir/pdf2img-c/
autoreconf -if
chmod +x configure
./configure --prefix=/usr --enable-button-images
}
package() {
cd $srcdir/pdf2img-c/
make
mkdir -p $pkgdir/usr/bin
mkdir -p $pkgdir/usr/share/applications
mkdir -p $pkgdir/usr/share/pixmaps
cp $srcdir/pdf2img-c/src/pdf2img $pkgdir/usr/bin/
cp $srcdir/pdf2img-c/pdf2img.desktop $pkgdir/usr/share/applications/
cp $srcdir/pdf2img-c/img/pdf2img_c_icon.xpm $pkgdir/usr/share/pixmaps/
}
pkgver() {
cd $srcdir/pdf2img-c/
echo $(git rev-list --count master).$(git rev-parse --short master)
}
|