[arch-commits] Commit in python-btrfs/repos (community-any community-any/PKGBUILD)
Jiachen Yang
farseerfc at archlinux.org
Thu Oct 15 06:28:10 UTC 2020
Date: Thursday, October 15, 2020 @ 06:28:10
Author: farseerfc
Revision: 724054
archrelease: copy trunk to community-any
Added:
python-btrfs/repos/community-any/
python-btrfs/repos/community-any/PKGBUILD
(from rev 724053, python-btrfs/trunk/PKGBUILD)
----------+
PKGBUILD | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
Copied: python-btrfs/repos/community-any/PKGBUILD (from rev 724053, python-btrfs/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2020-10-15 06:28:10 UTC (rev 724054)
@@ -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=1
+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