summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Landau2022-08-11 14:52:15 +0300
committerDaniel Landau2022-08-11 14:52:15 +0300
commit84fc53f39d09f946611ebe9667e3255934995a40 (patch)
treead43c9a5ecb2da285b42f0fc6db56056226b43fa
parent506cc093d4b427dc1eb2bf9854c9f8f95f1cf017 (diff)
downloadaur-shrinkpdf.tar.gz
New version
-rw-r--r--.SRCINFO11
-rw-r--r--PKGBUILD12
2 files changed, 11 insertions, 12 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 3d7f36c31f6..b1d05a7b1a2 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,13 +1,12 @@
pkgbase = shrinkpdf
pkgdesc = Tiny shell script to shrink an image pdf
- pkgver = 1.0
- pkgrel = 5
- url = http://www.alfredklomp.com/programming/shrinkpdf/
+ pkgver = 1.1
+ pkgrel = 1
+ url = https://github.com/aklomp/shrinkpdf
arch = any
license = BSD
depends = ghostscript
- source = http://www.alfredklomp.com/programming/shrinkpdf/shrinkpdf.sh
- sha256sums = 2aa47759a945165e119b84b99d1042c63fceb1ec2692145e250b4f78ec032662
+ source = https://github.com/aklomp/shrinkpdf/archive/refs/tags/v1.1.tar.gz
+ sha256sums = e02cd491c6f7abbc5c129227dbcfe5257fc9a18b40129af29967be1542cddaaa
pkgname = shrinkpdf
-
diff --git a/PKGBUILD b/PKGBUILD
index c4c4824b8c4..28337b70f72 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,19 +1,19 @@
# Maintainer: Daniel Landau <daniel.landau@iki.fi>
pkgname=shrinkpdf
-pkgver=1.0
-pkgrel=5
+pkgver=1.1
+pkgrel=1
pkgdesc="Tiny shell script to shrink an image pdf"
arch=('any')
-url="http://www.alfredklomp.com/programming/shrinkpdf/"
+url="https://github.com/aklomp/shrinkpdf"
license=('BSD')
depends=('ghostscript')
source=(
-http://www.alfredklomp.com/programming/shrinkpdf/shrinkpdf.sh
+https://github.com/aklomp/shrinkpdf/archive/refs/tags/v${pkgver}.tar.gz
)
-sha256sums=('2aa47759a945165e119b84b99d1042c63fceb1ec2692145e250b4f78ec032662')
+sha256sums=('e02cd491c6f7abbc5c129227dbcfe5257fc9a18b40129af29967be1542cddaaa')
package() {
- cd "$srcdir/"
+ cd "$srcdir/$pkgname-$pkgver"
sed -ne '/Copyright/,/POSSIBILITY OF SUCH DAMAGE/p' shrinkpdf.sh > LICENSE
install -D LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"