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

Felix Yan felixonmars at archlinux.org
Tue Jul 7 18:12:03 UTC 2020


    Date: Tuesday, July 7, 2020 @ 18:12:02
  Author: felixonmars
Revision: 660030

archrelease: copy trunk to community-staging-any

Added:
  treeify/repos/community-staging-any/
  treeify/repos/community-staging-any/PKGBUILD
    (from rev 660029, treeify/trunk/PKGBUILD)

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

Copied: treeify/repos/community-staging-any/PKGBUILD (from rev 660029, treeify/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-07-07 18:12:02 UTC (rev 660030)
@@ -0,0 +1,28 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+pkgname=treeify
+_commit=90292b206d2eec0bd886c2850713149cb2393932
+pkgver=r7958.90292b20
+pkgrel=2
+pkgdesc='Display a list of files as a tree'
+arch=('any')
+url='https://github.com/grawity/code/blob/master/misc/treeify'
+license=('MIT')
+depends=('perl')
+makedepends=('git')
+source=("$pkgname::git+https://github.com/grawity/code.git#commit=$_commit")
+sha512sums=('SKIP')
+
+pkgver() {
+  cd $pkgname
+
+  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+package() {
+  cd $pkgname
+
+  install -Dm 755 misc/treeify "$pkgdir"/usr/bin/treeify
+  install -Dm 644 dist/LICENSE.mit "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+



More information about the arch-commits mailing list