[arch-commits] Commit in (3 files)

Maxime Gauduin alucryd at archlinux.org
Wed Jan 13 14:24:35 UTC 2021


    Date: Wednesday, January 13, 2021 @ 14:24:34
  Author: alucryd
Revision: 820465

add python-reflink for beets

Added:
  python-reflink/
  python-reflink/trunk/
  python-reflink/trunk/PKGBUILD

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

Added: python-reflink/trunk/PKGBUILD
===================================================================
--- python-reflink/trunk/PKGBUILD	                        (rev 0)
+++ python-reflink/trunk/PKGBUILD	2021-01-13 14:24:34 UTC (rev 820465)
@@ -0,0 +1,36 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+
+pkgname=python-reflink
+pkgver=0.2.1
+pkgrel=1
+pkgdesc='Reflink support for Python'
+arch=(x86_64)
+url=https://gitlab.com/rubdos/pyreflink
+license=(MIT)
+depends=(python-cffi)
+makedepends=(
+  git
+  python-pip
+  python-setuptools
+)
+_tag=48a3a3e6212e40eb44da47db9cbcb2e2c8306d50
+source=(git+https://gitlab.com/rubdos/pyreflink.git#tag=${_tag})
+b2sums=(SKIP)
+
+pkgver() {
+  cd pyreflink
+  git describe --tags
+}
+
+build() {
+  cd pyreflink
+  python setup.py build
+}
+
+package() {
+  cd pyreflink
+  python setup.py install --root="${pkgdir}" --optimize=1
+  install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/python-reflink/
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list