diff options
author | zoe | 2023-11-18 21:23:41 +0100 |
---|---|---|
committer | zoe | 2023-11-18 21:23:41 +0100 |
commit | 591b7ae954a2d5ef6072ac80204c47f008490f8b (patch) | |
tree | 45b54a8b24d420d0f81150f8380e0fe839779bca /PKGBUILD | |
parent | 0884ae7c79739857a1498ea1852443987bef1722 (diff) | |
download | aur-591b7ae954a2d5ef6072ac80204c47f008490f8b.tar.gz |
Update to 2.0.3
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 22 |
1 files changed, 9 insertions, 13 deletions
@@ -2,25 +2,21 @@ pkgname=pdfcropmargins PkgName=pdfCropMargins -CodeChemin="24/d9/d9bb0286d9c8e0aa2a752c7bad654f6491daefaab6b1737544ab62caf0db" -pkgver=1.0.9 +CodeChemin="92/ec/e5869bafd3d41243f7f9ed047fb073f9be1ca897b577bfafb15a36f9e433" +pkgver=2.0.3 pkgrel=1 pkgdesc="Automatically crops the margins of PDF files" url="https://pypi.org/project/pdfCropMargins/" arch=('any') license=('GPL') -depends=('python-setuptools' 'python-wheel' 'python-pysimplegui' 'python-pymupdf' 'python-pypdf2' 'ghostscript' 'poppler') +makedepends=('python-pip') +depends=('python-setuptools' 'python-wheel' 'python-pysimplegui' 'python-pymupdf' 'python-pypdf2') +optdepends=('ghostscript' 'poppler') install=${pkgname}.install -source=("https://files.pythonhosted.org/packages/$CodeChemin/$PkgName-$pkgver.tar.gz") -md5sums=('e60e276060faa5ba9316dce475e2fa50') - - -build() { - cd $srcdir/$PkgName-$pkgver - python setup.py build -} +source=("https://files.pythonhosted.org/packages/$CodeChemin/$PkgName-$pkgver-py2.py3-none-any.whl") +md5sums=('d7ad34cc2f4f83cbe8c158ccf9133382') package() { - cd $srcdir/$PkgName-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 --skip-build + cd ${srcdir} + pip install --root="$pkgdir" $PkgName-$pkgver-py2.py3-none-any.whl } |