Date: Tuesday, March 13, 2018 @ 11:24:05
  Author: archange
Revision: 307089

archrelease: copy trunk to community-any

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

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

Copied: img2pdf/repos/community-any/PKGBUILD (from rev 307088, 
img2pdf/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD                              (rev 0)
+++ community-any/PKGBUILD      2018-03-13 11:24:05 UTC (rev 307089)
@@ -0,0 +1,23 @@
+# Maintainer: Bruno Pagani <archa...@archlinux.org>
+
+pkgname=img2pdf
+pkgver=0.2.4
+pkgrel=1
+pkgdesc="Losslessly convert raster images to PDF"
+arch=('any')
+url='https://gitlab.mister-muffin.de/josch/img2pdf'
+license=('LGPL3')
+depends=('python-pillow')
+makedepends=('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
+}

Reply via email to