-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPKGBUILD
77 lines (68 loc) · 1.36 KB
/
PKGBUILD
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
# Maintainer: Silver Tuanzi
pkgname=gnome-terminal-linuxmint
_pkgname=gnome-terminal
pkgver=3.52.0
_mintver=mint2+xia
pkgrel=2
pkgdesc="The GNOME Terminal Emulator"
url="https://wiki.gnome.org/Apps/Terminal"
arch=(x86_64)
provides=(
${_pkgname}
)
conflicts=(
${_pkgname}
)
license=(
# Program
GPL-3.0-or-later
# Documentation
CC-BY-SA-3.0
GPL-3.0-only
# Appstream-data
GFDL-1.3-only
)
depends=(
dconf
gcc-libs
glib2
glibc
gsettings-desktop-schemas
gtk3
hicolor-icon-theme
libhandy
libx11
pango
util-linux-libs
vte3
)
makedepends=(
docbook-xsl
git
glib2-devel
meson
yelp-tools
libnautilus-extension
)
optdepends=(
"libnautilus-extension: Nautilus integration"
)
source=("http://packages.linuxmint.com/pool/upstream/g/gnome-terminal/gnome-terminal_${pkgver}+${_mintver}.tar.xz")
#source=("https://mirrors.cernet.edu.cn/linuxmint/pool/upstream/g/gnome-terminal/gnome-terminal_${pkgver}+${_mintver}.tar.xz")
b2sums=('80c2ca7d097742b710a3a76f2f4e4bebc67645a581d8a95d43d521cc4c36af839053ae0cfc2c7019fc1ba7b5b31c0ea1f58a4a867574a1863e127c8e9ce9a5b6')
prepare() {
cd $_pkgname
}
build() {
local meson_options=(
-D b_lto=false
)
arch-meson $_pkgname build "${meson_options[@]}"
meson compile -C build
}
check() {
meson test -C build --print-errorlogs
}
package() {
meson install -C build --destdir "$pkgdir"
}