upgpkg: autojump-git 22.5.3.r6.gee21082-1

prepare is no longer needed
This commit is contained in:
Cedric Girard 2025-03-18 12:28:17 +01:00
parent 8dc5456b37
commit 268a6d2596
2 changed files with 4 additions and 9 deletions
autojump-git

View file

@ -1,7 +1,7 @@
pkgbase = autojump-git
pkgdesc = A faster way to navigate your filesystem from the command line
pkgver = 22.5.3.r0.g06e082c
pkgrel = 6
pkgver = 22.5.3.r6.gee21082
pkgrel = 1
url = http://github.com/wting/autojump
arch = any
license = GPL3

View file

@ -4,8 +4,8 @@
# Contributor: William Ting <william.h.tingATgmail.com>
pkgname=autojump-git
pkgver=22.5.3.r0.g06e082c
pkgrel=6
pkgver=22.5.3.r6.gee21082
pkgrel=1
pkgdesc="A faster way to navigate your filesystem from the command line"
arch=(any)
url="http://github.com/wting/autojump"
@ -24,11 +24,6 @@ pkgver() {
git describe --long --tags | sed 's/^release\-v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {
cd ${_gitname}
sed -i 's$#!/usr/bin/env python$#!/usr/bin/env python3$' bin/autojump bin/*.py
}
package() {
cd ${_gitname}
./install.py --prefix 'usr/' --destdir "${pkgdir}" --zshshare 'usr/share/zsh/site-functions'