[arch-commits] Commit in python-btrfs/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Thu Nov 12 17:00:54 UTC 2020
Date: Thursday, November 12, 2020 @ 17:00:54
Author: felixonmars
Revision: 752175
archrelease: copy trunk to community-staging-any
Added:
python-btrfs/repos/community-staging-any/
python-btrfs/repos/community-staging-any/PKGBUILD
(from rev 752173, python-btrfs/trunk/PKGBUILD)
----------+
PKGBUILD | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
Copied: python-btrfs/repos/community-staging-any/PKGBUILD (from rev 752173, python-btrfs/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-11-12 17:00:54 UTC (rev 752175)
@@ -0,0 +1,21 @@
+# Maintainer: Jiachen YANG <farseerfc at gmail.com>
+# AUR Maintainer: Timofey Titovets <nefelim4ag at gmail.com>
+
+pkgname=python-btrfs
+pkgver=12
+pkgrel=2
+pkgdesc="Python Btrfs module, with useful scripts to inspect btrfs internals"
+arch=('any')
+url="https://github.com/knorrie/python-btrfs"
+license=('GPL2')
+depends=('python')
+makedepends=('git')
+source=("$pkgname"::"git://github.com/knorrie/python-btrfs.git#tag=v${pkgver}")
+md5sums=('SKIP')
+
+package() {
+ cd "$srcdir/${pkgname}/"
+ python ./setup.py install --root="$pkgdir/" --prefix=/usr --optimize=1
+ cd bin
+ install -Dm755 btrfs-* -t "$pkgdir/usr/bin/"
+}
More information about the arch-commits
mailing list