diff options
author | Darren Ng | 2020-06-29 16:15:46 +0800 |
---|---|---|
committer | Darren Ng | 2020-06-29 16:16:00 +0800 |
commit | 8928a4e8beac12fc4d91704149846155128271c1 (patch) | |
tree | 7041836c9350b6cb815ff5c31b89f795d1b3f9c8 | |
parent | 40b3f8dc34726e655141d1cb6bcbc2349ef7ddb8 (diff) | |
download | aur-8928a4e8beac12fc4d91704149846155128271c1.tar.gz |
+deps python-pikepdf, remove 'g' before ver
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 8 |
3 files changed, 13 insertions, 7 deletions
@@ -1,16 +1,16 @@ -# Generated by mksrcinfo v8 -# Wed Aug 24 10:47:14 UTC 2016 pkgbase = img2pdf-git pkgdesc = Losslessly convert images to PDF without unnecessarily increasing file size by re-encoding JPEG files. - pkgver = 0.2.1.r8.geedf73e + pkgver = 0.3.6.r17.a84a1b8 pkgrel = 1 + epoch = 1 url = https://gitlab.mister-muffin.de/josch/img2pdf arch = any license = LGPL3 makedepends = git makedepends = python-setuptools depends = python-pillow - provides = img2pdf=0.2.1 + depends = python-pikepdf + provides = img2pdf=0.3.6 conflicts = img2pdf conflicts = python-img2pdf source = git+http://gitlab.mister-muffin.de/josch/img2pdf.git diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..f71c635dafda --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +* +!.gitignore +!PKGBUILD +!.SRCINFO @@ -2,13 +2,14 @@ # Contributor: Brandon Invergo <brandon@invergo.net> pkgname=img2pdf-git -pkgver=0.2.1.r8.geedf73e +epoch=1 +pkgver=0.3.6.r17.a84a1b8 pkgrel=1 pkgdesc="Losslessly convert images to PDF without unnecessarily increasing file size by re-encoding JPEG files." arch=('any') url="https://gitlab.mister-muffin.de/josch/img2pdf" license=('LGPL3') -depends=('python-pillow') +depends=('python-pillow' 'python-pikepdf') makedepends=('git' 'python-setuptools') conflicts=("${pkgname%-*}" "python-${pkgname%-*}") provides=("${pkgname%-*}=${pkgver:0:5}") @@ -18,7 +19,8 @@ md5sums=('SKIP') pkgver() { cd "${srcdir}/${pkgname%-*}" - git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' + printf "%s" "$(git describe --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g')" + } build() { |