Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=3a55e9e7639718c5ddbf7866c94c2272109bff71

commit 3a55e9e7639718c5ddbf7866c94c2272109bff71
Author: DeX77 <de...@frugalware.org>
Date:   Sun Oct 16 17:17:43 2016 +0200

autojump-22.5.0-1-x86_64

* version bump

diff --git a/source/apps-extra/autojump/FrugalBuild 
b/source/apps-extra/autojump/FrugalBuild
index 08fe797..49ec735 100644
--- a/source/apps-extra/autojump/FrugalBuild
+++ b/source/apps-extra/autojump/FrugalBuild
@@ -3,26 +3,33 @@
# Contributor: Yakulu <fabien.8 AT free.fr>

pkgname=autojump
-pkgver=17
+pkgver=22.5.0
pkgrel=1
pkgdesc="a cd command that learns"
-url="http://github.com/joelthelion/autojump";
-depends=('bash' 'python')
+depends=('python')
groups=('apps-extra')
archs=('i686' 'x86_64')
-Fpkgversep="_v"
-up2date="Flasttar $url/downloads"
-source=(http://github.com/downloads/joelthelion/autojump/$pkgname$Fpkgversep$pkgver.tar.gz)
-sha1sums=('0e26e5e95f8fbf8947d8142822ee44a40ae92b27')
-Fsrcdir=$pkgname$Fpkgversep$pkgver
+_F_github_author="wting"
+_F_github_tag=y
+_F_github_ver="release-v${pkgver}"
+Finclude github
+up2date="$up2date | sed 's/release_v//'"
+sha1sums=('ac9fe802c0afa695daf87ad84d4cc0159488ffad')

build() {
-    Finstall 644 icon.png /usr/share/autojump/icon.png
-    Fexe jumpapplet /usr/bin/jumpapplet
-    Fexe autojump /usr/bin/autojump
-    Finstall 644 autojump.1 /usr/share/man/man1/autojump.1
-    Fexe autojump.bash /etc/profile.d/autojump.bash
-    Fexe autojump.sh /etc/profile.d/autojump.sh
-    Fexe autojump.zsh /etc/profile.d/autojump.zsh
-    Finstall 644 _j /usr/share/zsh/site-functions/_j
+       Fcd
+
+       for shell in {bash,zsh,fish}
+       do
+               SHELL="$shell"
+               Fexec ./install.py --destdir=$Fdestdir/usr 
--zshshare=$Fdestdir/usr/share/zsh/site-functions || Fdie
+       done
+
+       Fmv usr/etc /
+       Fmkdir etc/profile.d
+
+       Fmv usr/share/autojump/autojump.bash etc/profile.d/
+       Fmv usr/share/autojump/autojump.zsh etc/profile.d/
+       Fmv usr/share/autojump/autojump.fish etc/profile.d/
+
}
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to