2009-01-09 19:12:51 +11:00
|
|
|
# Description: A terminal emulator based on GTK and VTE.
|
2021-02-01 11:06:11 +00:00
|
|
|
# URL: https://www.pleyades.net/david/projects/sakura
|
2014-11-10 23:28:07 +11:00
|
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
2018-09-28 20:53:26 +10:00
|
|
|
# Depends on: vte3
|
2009-01-09 19:12:51 +11:00
|
|
|
|
|
|
|
name=sakura
|
2021-08-22 16:28:54 +02:00
|
|
|
version=3.8.3
|
2009-01-09 19:12:51 +11:00
|
|
|
release=1
|
2020-05-31 22:30:47 +10:00
|
|
|
source=(https://launchpad.net/sakura/trunk/$version/+download/$name-$version.tar.bz2)
|
2009-01-09 19:12:51 +11:00
|
|
|
|
|
|
|
build() {
|
2020-11-08 12:40:43 +00:00
|
|
|
cmake -S $name-$version -B build -G Ninja \
|
|
|
|
-D CMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-D CMAKE_BUILD_TYPE=RELEASE \
|
2020-12-07 00:02:26 +00:00
|
|
|
-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
|
|
|
|
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \
|
2020-11-07 16:58:17 +00:00
|
|
|
-Wno-dev
|
2018-02-10 12:59:30 +11:00
|
|
|
|
2020-05-31 22:30:47 +10:00
|
|
|
cmake --build build
|
2020-07-08 13:01:36 +00:00
|
|
|
DESTDIR=$PKG cmake --install build
|
2018-02-10 12:59:30 +11:00
|
|
|
|
2009-10-10 12:46:31 +11:00
|
|
|
rm -r $PKG/usr/share/{locale,doc}
|
2009-01-09 19:12:51 +11:00
|
|
|
}
|