blob: 97d19487d54847245c9a9e9b8b4874f1e83d86c2 (
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
|
# Maintainer: TwoFinger
pkgname=textadept-curses
_basename=textadept
pkgver=12.4
pkgrel=1
pkgdesc="Fast, minimalist, and remarkably extensible cross-platform text editor"
arch=(i686 x86_64 aarch64)
url="https://github.com/orbitalquark/textadept"
license=(MIT)
makedepends=(ncurses wget unzip cmake)
source=("$url/archive/${_basename}_$pkgver.tar.gz")
sha256sums=(a9c3952d4055007c3bc9c65d685adb5a8abdb589646623d7141fc709d86464c2)
build() {
cd "${_basename}-${_basename}_$pkgver"
export LDFLAGS=-Wl,-z,relro,-z,now
cmake -B build_dir \
-D CMAKE_INSTALL_PREFIX="$pkgdir"/usr \
-D CMAKE_BUILD_TYPE=None \
-D GTK2=OFF -D GTK3=OFF -D QT=OFF
cmake --build build_dir -j
}
package_textadept-curses() {
depends=(ncurses)
provides=($pkgname)
conflicts=(${_basename} ${_basename}-gtk2 ${_basename}-gtk3)
cd "${_basename}-${_basename}_$pkgver"
cmake --install build_dir
}
|