blob: 1ac6a2b06bbe54d1b6f32486718f7e87a485707e (
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
# Maintainer: Juan Manuel Méndez Rey (vejeta) <juan.mendezr@proton.me>
# Maintainer: Deposite Pirate <dpirate at metalpunks dot info>
#
# Upstream: https://codeberg.org/mendezr/xwpe
# Upstream: https://git.metalpunks.info/arch-ports
#
# vim: ts=2 sw=2
pkgname=xwpe
pkgver=1.6.9
pkgrel=1
pkgdesc='Borland Turbo C/Pascal-style programming editor and IDE for console and X11, with LSP and DAP clients'
arch=('i686' 'x86_64')
url='https://codeberg.org/mendezr/xwpe'
license=('GPL-2.0-only')
depends=('ncurses' 'libx11' 'libxft' 'cairo' 'pango' 'gpm' 'libvterm' 'json-c' 'zlib')
makedepends=('texinfo')
optdepends=(
'gcc: C/C++ compiling (F9) and gdb debugging'
'gdb: source-level debugging; also Rust via DAP'
'clang: clangd language server for C/C++'
'python-lsp-server: Python language server'
'gopls: Go language server'
'rust-analyzer: Rust language server'
'delve: Go debugging via DAP'
'go: Go compiler'
'rust: Rust compiler'
'jdk-openjdk: Java compiling (javac) and jdb debugging'
'python: Python interpreter and pdb debugging'
)
provides=('wpe' 'wpe-common')
conflicts=('wpe' 'wpe-common')
replaces=('wpe' 'wpe-common')
source=("$pkgname-$pkgver.tar.gz::$url/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz")
sha256sums=('14499a7a4f5193bf23f539285adf7156054c5bfe6b20b991e705e3c3a5f6b392')
build() {
cd "${pkgname}-${pkgver}"
CFLAGS="${CFLAGS}" ./configure \
--prefix=/usr \
--mandir=/usr/share/man
make
}
package() {
cd "${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
rm -f "$pkgdir/usr/share/info/dir"
install -Dvm644 AUTHORS CHANGELOG README.md \
-t "$pkgdir/usr/share/doc/$pkgname"
}
|