summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorFrenzies2018-10-21 12:11:48 +0800
committerFrenzies2018-10-21 12:11:48 +0800
commit89bffa13a193adfbc98dc5b93057a76d3043815b (patch)
tree76323f019a836aec479fa90bddf81e08e19f07bd /PKGBUILD
downloadaur-89bffa13a193adfbc98dc5b93057a76d3043815b.tar.gz
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD24
1 files changed, 24 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..d54968e4177
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,24 @@
+# Maintainer: Crestwave <crest.wave@yahoo.com>
+
+pkgname=fff-git
+pkgver=r74.b6a240a
+pkgrel=1
+pkgdesc="A simple file manager written in bash"
+arch=('any')
+url="https://github.com/dylanaraps/fff"
+license=('MIT')
+makedepends=('git')
+depends=('bash' 'xdg-utils')
+source=("git+${url}.git")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd "$srcdir/fff"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+package() {
+ cd "$srcdir/fff"
+ install -Dm755 fff "${pkgdir}/usr/bin/fff"
+ install -Dm644 LICENSE.md "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.md"
+}