contrib/sakura/Pkgfile

24 lines
615 B
Plaintext
Raw Normal View History

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