blob: fdfb2853c06495f4f23ae1c5ea9ec0323c4afe6e (
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
|
# Maintainer: Anton Larionov <diffident dot cat at gmail dot com>
pkgname=img2djvu-git
pkgver=23.78b777e
pkgrel=1
pkgdesc="Single-pass DjVu encoder based on DjVu Libre and ImageMagick"
arch=('any')
url="https://github.com/ashipunov/img2djvu"
license=('custom: Public domain')
depends=('djvulibre' 'imagemagick')
# Dependency 'bash' provides by 'djvulibre'
makedepends=('git')
source=('git+git://github.com/ashipunov/img2djvu.git')
md5sums=('SKIP')
_gitname='img2djvu'
pkgver() {
cd ${srcdir}/${_gitname}
echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
}
package() {
cd "${srcdir}/${_gitname}"
install -D -m755 "${_gitname}" "${pkgdir}/usr/bin/${_gitname}"
install -dm755 "${pkgdir}/usr/share/doc/${_gitname}"
install -D -m644 NEWS README TODO "${pkgdir}/usr/share/doc/${_gitname}"
}
# vim:set ts=2 sw=2 et:
|