Created
October 14, 2018 16:01
-
-
Save simonpintarelli/9d12c3158e8e18634efed0f18c2ed604 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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