blob: 79d9ed7e3064b93338da4cf7e58a44ff44930652 (
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-gtk3
_basename=textadept
pkgver=12.5
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)
depends=(gtk3 ncurses)
makedepends=(wget unzip cmake)
provides=($pkgname)
conflicts=(${_basename} ${_basename}-gtk2)
source=("$url/archive/${_basename}_$pkgver.tar.gz")
sha256sums=('ff59d2240c8169563c9a39eb19b65788dcde0a4f327c7d028b23dafc9d85a8d4')
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 QT=OFF
cmake --build build_dir -j
}
package() {
cd "${_basename}-${_basename}_$pkgver"
cmake --install build_dir
}
|