Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@simonpintarelli
Created October 14, 2018 16:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save simonpintarelli/9d12c3158e8e18634efed0f18c2ed604 to your computer and use it in GitHub Desktop.
Save simonpintarelli/9d12c3158e8e18634efed0f18c2ed604 to your computer and use it in GitHub Desktop.
pkgname=krop
pkgver=0.5.0
pkgrel=1
pkgdesc="A tool to crop PDF files, with an eye towards eReaders."
arch=('any')
url="http://arminstraub.com/computer/krop"
license=('GPL3')
depends=('python' 'python-poppler-qt5' 'python-pypdf2' 'python-pyqt5')
install=$pkgname.install
source=("$pkgname-$pkgver.tar.gz::https://github.com/arminstraub/krop/archive/v${pkgver}.tar.gz")
sha256sums=('25c67095d0416ee1359d16dd106bd828deb01825a9cbe342e89c7e007b7f43a2')
package() {
cd $pkgname-$pkgver
python setup.py install --root $pkgdir
# Desktop icon
install -Dm644 $pkgname.desktop $pkgdir/usr/share/applications/$pkgname.desktop
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment