[arch-commits] Commit in img2pdf/repos (2 files)

Felix Yan felixonmars at archlinux.org
Sat Jun 30 16:01:43 UTC 2018


    Date: Saturday, June 30, 2018 @ 16:01:43
  Author: felixonmars
Revision: 348376

archrelease: copy trunk to community-staging-any

Added:
  img2pdf/repos/community-staging-any/
  img2pdf/repos/community-staging-any/PKGBUILD
    (from rev 348375, img2pdf/trunk/PKGBUILD)

----------+
 PKGBUILD |   22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

Copied: img2pdf/repos/community-staging-any/PKGBUILD (from rev 348375, img2pdf/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2018-06-30 16:01:43 UTC (rev 348376)
@@ -0,0 +1,22 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+pkgname=img2pdf
+pkgver=0.2.4
+pkgrel=3
+pkgdesc="Losslessly convert raster images to PDF"
+arch=('any')
+url='https://gitlab.mister-muffin.de/josch/img2pdf'
+license=('LGPL3')
+depends=('python-pillow' 'python-setuptools')
+source=("https://pypi.io/packages/source/i/${pkgname}/${pkgname}-${pkgver}.tar.gz")
+sha256sums=('140b70fa3a3bfb54e92947818cee01483a4f1492b5d1d02b0f649257f5ffc9ae')
+
+build() {
+    cd ${pkgname}-${pkgver}
+    python setup.py build
+}
+
+package() {
+    cd ${pkgname}-${pkgver}
+    python setup.py install --skip-build --prefix=/usr --root="${pkgdir}" --optimize=1
+}



More information about the arch-commits mailing list