desktop/stapler/PKGBUILD

30 lines
981 B
Bash
Raw Normal View History

#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# contributor: Neo Kolokotronis <tetris4@gmail.com>
pkgname=stapler
pkgver=2b
pkgrel=1
pkgdesc="A small utility making use of the pypdf library to provide a (somewhat) lighter alternative to pdftk"
arch=('any')
url="http://github.com/hellerbarde/stapler/"
license=('custom')
depends=('python-pypdf')
conflicts=('stapler-git')
categories=('utils')
source=( https://github.com/hellerbarde/stapler/tarball/master/hellerbarde-stapler-0.2b-g1c9b4f4.tar.gz patch.patch)
md5sums=('2cbc5ce6695b479ddfb52fbf5900a0bf' '1fe8b56e36d01a12523c1ca661486c97')
build() {
cd $srcdir/hellerbarde-stapler-1c9b4f4
install -Dm755 stapler.py $pkgdir/usr/bin/stapler
install -Dm644 LICENSE $pkgdir/usr/share/licenses/stapler/LICENSE
install -Dm644 README $pkgdir/usr/share/doc/stapler/README
}