diff options
author | zoe | 2020-04-02 11:07:29 +0200 |
---|---|---|
committer | zoe | 2020-04-02 11:07:29 +0200 |
commit | 7c3b9919ff2cf2ab3aeb3dd78b3e1a05e62e8da4 (patch) | |
tree | 9abb68705e7eeb1e98b57b45862aa5ce4330313b | |
parent | d9cc103e1a6eb5495f753645a2fbd09aca1f09e1 (diff) | |
download | aur-7c3b9919ff2cf2ab3aeb3dd78b3e1a05e62e8da4.tar.gz |
clean PKGBUILD
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 13 | ||||
-rw-r--r-- | pdfcropmargins.install | 10 |
3 files changed, 17 insertions, 10 deletions
@@ -1,7 +1,7 @@ pkgbase = pdfcropmargins pkgdesc = Automatically crops the margins of PDF files pkgver = 0.2.6 - pkgrel = 4 + pkgrel = 5 url = https://pypi.org/project/pdfCropMargins/ install = pdfcropmargins.install arch = any @@ -13,9 +13,7 @@ pkgbase = pdfcropmargins depends = ghostscript depends = poppler source = https://files.pythonhosted.org/packages/c2/33/622baca4910c48c9d4b29d804b4690389dff6b0d6730d31a7b4d9ed9fd66/pdfCropMargins-0.2.6.tar.gz - source = pdfcropmargins.install md5sums = ec662f0d5ebc99a9d97a63526fefbbfd - md5sums = 9b69f16be9c0ae096f9a00469cd746e1 pkgname = pdfcropmargins @@ -3,17 +3,16 @@ pkgname=pdfcropmargins PkgName=pdfCropMargins pkgver=0.2.6 -pkgrel=4 +pkgrel=5 pkgdesc="Automatically crops the margins of PDF files" +url="https://pypi.org/project/pdfCropMargins/" arch=('any') -depends=('python-setuptools' 'python-wheel' 'python-pysimplegui' 'python-pymupdf' 'ghostscript' 'poppler') -url="https://pypi.org/project/pdfCropMargins/" license=('GPL') -source=("https://files.pythonhosted.org/packages/c2/33/622baca4910c48c9d4b29d804b4690389dff6b0d6730d31a7b4d9ed9fd66/$PkgName-$pkgver.tar.gz" - "pdfcropmargins.install") -md5sums=('ec662f0d5ebc99a9d97a63526fefbbfd' - '9b69f16be9c0ae096f9a00469cd746e1') +depends=('python-setuptools' 'python-wheel' 'python-pysimplegui' 'python-pymupdf' 'ghostscript' 'poppler') install=${pkgname}.install +source=("https://files.pythonhosted.org/packages/c2/33/622baca4910c48c9d4b29d804b4690389dff6b0d6730d31a7b4d9ed9fd66/$PkgName-$pkgver.tar.gz") +md5sums=('ec662f0d5ebc99a9d97a63526fefbbfd') + build() { cd $srcdir/$PkgName-$pkgver diff --git a/pdfcropmargins.install b/pdfcropmargins.install index 65e6242f8570..96a7960c83dc 100644 --- a/pdfcropmargins.install +++ b/pdfcropmargins.install @@ -9,3 +9,13 @@ post_install() { echo "pdf-crop-margins --help" echo " " } + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} + +# vim:set ts=2 sw=2 et: |