diff options
author | GordonGR | 2015-08-04 20:48:50 +0300 |
---|---|---|
committer | GordonGR | 2015-08-04 20:48:50 +0300 |
commit | 619bb8a26c655ec04ef63734de8f29a7f807084d (patch) | |
tree | 04caacbb488d4af2cbb2fd042a82b1d3b0200b69 | |
download | aur-619bb8a26c655ec04ef63734de8f29a7f807084d.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 32 |
2 files changed, 47 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..e489d39dc25a --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = img2djvu-git + pkgdesc = Single-pass DjVu encoder based on DjVu Libre and ImageMagick + pkgver = 22.0cea05f + pkgrel = 1 + url = https://github.com/ashipunov/img2djvu + arch = any + license = custom: Public domain + makedepends = git + depends = djvulibre + depends = imagemagick + source = git+git://github.com/ashipunov/img2djvu.git + md5sums = SKIP + +pkgname = img2djvu-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..cbcff2b90b6c --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: Anton Larionov <diffident dot cat at gmail dot com> + +pkgname=img2djvu-git +pkgver=22.0cea05f +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: |