archrelease: copy trunk to community-any
[ArchLinux/community.git] / vifm / repos / community-x86_64 / PKGBUILD
blobbcd525cc010f317fa9e5d1a94242b4e79df1e5e5
1 # Maintainer: Jaroslav Lichtblau <svetlemodry@archlinux.org>
3 pkgname=vifm
4 pkgver=0.13
5 pkgrel=1
6 pkgdesc="A file manager with curses interface, which provides Vi[m]-like environment"
7 arch=('x86_64')
8 url="https://vifm.info/"
9 license=('GPL')
10 depends=('ncurses' 'desktop-file-utils')
11 makedepends=('perl')
12 changelog=$pkgname.changelog
13 source=(https://prdownloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2{,.asc})
14 validpgpkeys=('22349CDBE5227D2108A5667799DC5E4DB05F6BE2') # xaizek <xaizek@posteo.net>
15 sha256sums=('0d9293749a794076ade967ecdc47d141d85e450370594765391bdf1a9bd45075'
16             'SKIP')
18 build() {
19   cd "${srcdir}"/$pkgname-$pkgver
21   CFLAGS+=' -fcommon' # https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common
23   ./configure --prefix=/usr --sysconfdir=/etc
24   make
27 package() {
28   cd "${srcdir}"/$pkgname-$pkgver
30   make DESTDIR="${pkgdir}" install