1
0
forked from ports/contrib

24 lines
632 B
Plaintext
Raw Normal View History

2009-01-09 19:12:51 +11:00
# Description: A terminal emulator based on GTK and VTE.
2012-01-12 11:22:09 +11:00
# URL: http://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
2020-05-31 22:30:47 +10:00
version=3.7.1
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 \
-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS -DNDEBUG" \
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS -DNDEBUG" \
2020-11-07 16:58:17 +00:00
-Wno-dev
2020-05-31 22:30:47 +10:00
cmake --build build
2020-07-08 13:01:36 +00:00
DESTDIR=$PKG cmake --install build
2009-10-10 12:46:31 +11:00
rm -r $PKG/usr/share/{locale,doc}
2009-01-09 19:12:51 +11:00
}