blob: 4ec3dcdf95d818edd71bc954548dc767ca7c5fcb (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Maintainer: Justin Gassner <justin.gassner@web.de>
_pkgname=vifm
pkgname=$_pkgname-jxir
pkgver=0.9.r336.g8930e8aa
pkgrel=1
pkgdesc='Ncurses based file manager with vi like keybindings'
arch=('x86_64')
url='https://vifm.info'
license=('GPL')
depends=('file' 'ncurses')
optdepends=('perl: vifm-convert-dircolors')
provides=("$_pkgname")
conflicts=("$_pkgname")
source=("git+https://github.com/$_pkgname/$_pkgname.git")
sha256sums=('SKIP')
pkgver() {
cd "$srcdir/$_pkgname"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/v//g'
}
build() {
cd "$srcdir/$_pkgname"
./configure \
--prefix=/usr \
--disable-desktop-files \
--without-gtk \
--without-X11
make
}
package() {
cd "$srcdir/$_pkgname"
make DESTDIR="$pkgdir" install
}
|