aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tilix/APKBUILD
blob: bea3b77b3065a733a319b4b63ffc79d5117a1557 (plain)
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
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=tilix
pkgver=1.9.3
pkgrel=3
pkgdesc="Tiling terminal emulator for Linux"
url="https://gnunn1.github.io/tilix-web/"
arch="x86_64" # ldc
license="MPL-2.0"
depends="gsettings-desktop-schemas libsecret libunwind"
makedepends="dconf-dev gtkd-dev glib-dev libx11-dev meson ldc ldc-runtime
	ldc-static po4a gdk-pixbuf libunwind-dev"
options="!check" # no tests
source="https://github.com/gnunn1/tilix/archive/$pkgver/tilix-$pkgver.tar.gz
	musl-hacks.patch
	ce11b0bd936fe8fee9c5ac7025ea5864b99ed7d3.patch
	dont-use-dub.patch
	fix-meson.patch"

export LDFLAGS='-linker=bfd -link-defaultlib-shared'

build() {
	meson \
		--prefix=/usr \
		--libdir=/usr/lib \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--buildtype=plain \
		. output
	ninja -C output
}

package() {
	DESTDIR="$pkgdir" ninja -C output install
}

sha512sums="59165d24404c3fb9beb40070005131c6262abe98626c164552c0d90d0d74b3fc1d0532430b56027497674934a7fbfd2fdf4195b01915cb6d03a284f468c7adca  tilix-1.9.3.tar.gz
3347bfebb0e4d011d9b17f31ed15ec79e503de76185757165c7c13daa6e8b566eb0ad3a7cf32775ee4bc6102da1fa593d3dd0ff57767748c911ec46ad53d4bc3  musl-hacks.patch
36d45c82abd9bf33e5ef9518103794b1da727204540deaa624cf7f6417541893f8391d1f8b9311a32479c58e98d3e85ca292aa2c009179cc8f69e41f23d8ed00  ce11b0bd936fe8fee9c5ac7025ea5864b99ed7d3.patch
2d4d3ca80249abe49af5823d3541de00afdc41a3b37cb9b897a1cdef7c4c2c41d03812e85132fbc56e83d43b15e463dbae260e7cfca164ae5ec5d04f36a50573  dont-use-dub.patch
8b2356d3c708e5b02185e4c140faffe51a1963478d51f7e91261246f9c37958a4c168f57883322c3567169279174cdff06d4b9999aade3c61f083f8ed5f34a24  fix-meson.patch"