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

Evangelos Foutras foutrelis at gemini.archlinux.org
Thu Dec 2 23:42:11 UTC 2021


    Date: Thursday, December 2, 2021 @ 23:42:11
  Author: foutrelis
Revision: 1063263

archrelease: copy trunk to community-staging-x86_64

Added:
  python-lhafile/repos/community-staging-x86_64/
  python-lhafile/repos/community-staging-x86_64/PKGBUILD
    (from rev 1063261, python-lhafile/trunk/PKGBUILD)

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

Copied: python-lhafile/repos/community-staging-x86_64/PKGBUILD (from rev 1063261, python-lhafile/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2021-12-02 23:42:11 UTC (rev 1063263)
@@ -0,0 +1,25 @@
+# Maintainer : Daniel Bermond <dbermond at archlinux.org>
+# Contributor: grimi
+
+pkgname=python-lhafile
+pkgver=0.3.0
+pkgrel=2
+pkgdesc='LHA archive support for Python'
+arch=('x86_64')
+url='https://github.com/FrodeSolheim/python-lhafile/'
+license=('BSD')
+depends=('python')
+makedepends=('python-setuptools')
+source=("https://github.com/FrodeSolheim/python-lhafile/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha256sums=('5565641820813c76c74f2199f19f6ee0e3ae1e1c14de1a3a4ea3602f9094cd29')
+
+build() {
+    cd "${pkgname}-${pkgver}"
+    python setup.py build
+}
+
+package() {
+    cd "${pkgname}-${pkgver}"
+    python setup.py install --root="$pkgdir" --skip-build --optimize='1'
+    install -D -m644 COPYING.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}



More information about the arch-commits mailing list