[arch-commits] Commit in treeify/repos (community-any community-any/PKGBUILD)
Filipe Laíns
ffy00 at archlinux.org
Wed Jun 12 18:08:15 UTC 2019
Date: Wednesday, June 12, 2019 @ 18:08:14
Author: ffy00
Revision: 480932
archrelease: copy trunk to community-any
Added:
treeify/repos/community-any/
treeify/repos/community-any/PKGBUILD
(from rev 480931, treeify/trunk/PKGBUILD)
----------+
PKGBUILD | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
Copied: treeify/repos/community-any/PKGBUILD (from rev 480931, treeify/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2019-06-12 18:08:14 UTC (rev 480932)
@@ -0,0 +1,28 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+pkgname=treeify
+_commit=1a4451d9339a53fd3484698ad3cbacaf72a459de
+pkgver=r7958.90292b20
+pkgrel=1
+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=")
+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