forked from ddterm/gnome-shell-extension-ddterm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
PKGBUILD
29 lines (25 loc) · 814 Bytes
/
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
pkgname=gnome-shell-extension-ddterm-git
pkgver=55
pkgrel=1
pkgdesc="Another Drop Down Terminal Extension for GNOME Shell"
arch=('any')
url='https://github.com/ddterm/gnome-shell-extension-ddterm'
license=('GPL-3.0-or-later')
conflicts=('gnome-shell-extension-ddterm')
provides=('gnome-shell-extension-ddterm')
depends=('gjs' 'gtk3' 'vte3' 'libhandy')
makedepends=('meson' 'git' 'gtk4' 'libxslt' 'xorg-server-xvfb')
source=("$pkgname::git+file://$(git rev-parse --show-toplevel)")
md5sums=('SKIP')
pkgver() {
cd "$pkgname"
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
arch-meson $pkgname build
# gtk-builder-tool needs X or Wayland
LIBGL_ALWAYS_SOFTWARE=1 xvfb-run -- meson compile -C build
}
package() {
meson install -C build --destdir "$pkgdir"
}