48 lines
1.1 KiB
Bash
48 lines
1.1 KiB
Bash
#!/usr/bin/env bash
|
|
name='gnome-terminal'
|
|
release='3'
|
|
version='3.54.0'
|
|
url='https://wiki.gnome.org/Apps/Terminal'
|
|
description='GNOME terminal emulator application'
|
|
email='akarsu@protonmail.com'
|
|
maintainer='akarsu'
|
|
license=('GPLv3')
|
|
source=("https://gitlab.gnome.org/GNOME/gnome-terminal/-/archive/${version}/gnome-terminal-${version}.tar.gz"
|
|
"00-ignore-language-check.patch"
|
|
"01-gnome-terminal-always-headerbar.patch"
|
|
"gnome-terminal-daemon"
|
|
"gnome-terminal-daemon.desktop")
|
|
depends=(dconf gsettings-desktop-schemas itstool libpcre2 vte3)
|
|
makedepends=()
|
|
sha256sums=('77370b4a00d0cda9ef339ff3aa809d266f3b937f00875176904c5bbefb76ae79'
|
|
'SKIP'
|
|
'SKIP'
|
|
'SKIP'
|
|
'SKIP')
|
|
group=(x11.terms)
|
|
uses=()
|
|
arch=('x86_64')
|
|
|
|
cd $name-$version
|
|
|
|
prepare (){
|
|
patch -Np1 -i ../00-ignore-language-check.patch
|
|
patch -Np1 -i ../01-gnome-terminal-always-headerbar.patch
|
|
}
|
|
|
|
setup () {
|
|
command meson setup build --prefix=/usr \
|
|
--libdir=/usr/lib64/ \
|
|
-Dnautilus_extension=false \
|
|
-Dsearch_provider=false
|
|
}
|
|
|
|
build () {
|
|
ninja -C build $jobs
|
|
}
|
|
|
|
package () {
|
|
DESTDIR=${DESTDIR} ninja -C build install $jobs
|
|
}
|
|
|