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

Felix Yan felixonmars at archlinux.org
Tue Jul 7 17:53:24 UTC 2020


    Date: Tuesday, July 7, 2020 @ 17:53:24
  Author: felixonmars
Revision: 659900

archrelease: copy trunk to community-staging-any

Added:
  pydf/repos/community-staging-any/
  pydf/repos/community-staging-any/PKGBUILD
    (from rev 659899, pydf/trunk/PKGBUILD)

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

Copied: pydf/repos/community-staging-any/PKGBUILD (from rev 659899, pydf/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-07-07 17:53:24 UTC (rev 659900)
@@ -0,0 +1,28 @@
+# Maintainer: Florian Pritz <bluewind at xinu.at>
+# Contributor: TDY <tdy at gmx.com>
+# Contributor: Eduard "bekks" Warkentin <eduard.warkentin at gmail.com>
+
+pkgname=pydf
+pkgver=12
+pkgrel=3
+pkgdesc="A colorized df clone"
+arch=("any")
+url="http://kassiopeia.juls.savba.sk/~garabik/software/pydf/"
+license=('custom')
+depends=('python')
+backup=('etc/pydfrc')
+source=(http://kassiopeia.juls.savba.sk/~garabik/software/pydf/pydf_$pkgver.tar.gz)
+md5sums=('0887807ecc56e7241b1b188c60abab74')
+
+build() {
+	cd "$srcdir/pydf-$pkgver"
+	sed -i 's|#! /usr/bin/python|#!/usr/bin/python3|' pydf
+}
+
+package() {
+	cd "$srcdir/pydf-$pkgver"
+	install -Dm755 pydf "$pkgdir/usr/bin/pydf"
+	install -Dm644 pydfrc "$pkgdir/etc/pydfrc"
+	install -Dm644 pydf.1 "$pkgdir/usr/share/man/man1/pydf.1"
+	install -Dm644 COPYING "$pkgdir/usr/share/licenses/pydf/COPYING"
+}



More information about the arch-commits mailing list