blob: c8ea862cc3518bb9d5288fee76e3addf357b3864 (
plain)
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: Martins Mozeiko <martins.mozeiko@gmail.com>
pkgname=far2l-git
pkgver=r3246.f0e3340f
pkgrel=1
pkgdesc='Linux port of FAR v2'
url='https://github.com/elfmz/far2l'
arch=('i686' 'x86_64')
license=('GPL2')
source=('git+https://github.com/elfmz/far2l')
sha256sums=('SKIP')
makedepends=('git' 'cmake')
depends=('wxgtk3' 'openssl' 'spdlog' 'xerces-c' 'fmt' 'uchardet')
optdepends=(
'libssh: SFTP support in NetRocks'
'smbclient: SMB support in NetRocks'
'libnfs: NFS support in NetRocks'
'neon: WebDAV support in NetRocks'
'pcre: custom archives support in multiarc'
'libarchive: more archive type support in multiarc'
)
pkgver() {
cd "$srcdir"/far2l
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd "$srcdir"/far2l
cmake . -DCMAKE_INSTALL_PREFIX="$pkgdir"/usr -DCMAKE_BUILD_TYPE=Release -DwxWidgets_CONFIG_EXECUTABLE=/usr/bin/wx-config -DCMAKE_CXX_FLAGS=-w
cmake --build . --target install
ln -sf ../../bin/far2l "$pkgdir"/usr/lib/far2l/far2l_askpass
ln -sf ../../bin/far2l "$pkgdir"/usr/lib/far2l/far2l_sudoapp
}
|