aboutsummaryrefslogtreecommitdiffstats
path: root/community/tint2/APKBUILD
blob: 318fe52e706d1e6cd03daf7a35a1e55980fac150 (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
43
44
45
46
47
# Contributor: Mari Hahn <mari.hahn@wwu.de>
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=tint2
pkgver=17.1.3
pkgrel=1
pkgdesc="tint2 is a simple unintrusive panel/taskbar"
url="https://gitlab.com/nick87720z/tint2/"
arch="all"
license="GPL-2.0-only"
options="!check"
makedepends="
	cairo-dev
	cmake
	glib-dev
	gtk+3.0-dev
	imlib2-dev
	librsvg-dev
	libxcomposite-dev
	libxdamage-dev
	libxinerama-dev
	libxrandr-dev
	linux-headers
	pango-dev
	samurai
	startup-notification-dev
	"
subpackages="$pkgname-doc $pkgname-lang"
source="$pkgname-$pkgver-2.tar.bz2::https://gitlab.com/nick87720z/tint2/-/archive/$pkgver/tint2-$pkgver.tar.bz2"
builddir="$srcdir/tint2-$pkgver"

build() {
	cmake -B build -G Ninja \
		-DCMAKE_BUILD_TYPE=None \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_SYSCONFDIR=/etc \
		-DCMAKE_INSTALL_LIBDIR=lib
	cmake --build build
}

package() {
	DESTDIR="$pkgdir" cmake --install build
}

sha512sums="
3405c32fd3e19b6ccb690406f19a00f4e95357d3c761227ac4a30b42fa20ffeb8974165815c3a4d50ae874252e593ef4fe4e5af8a5adba3d8d2820a6f479c045  tint2-17.1.3-2.tar.bz2
"