aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tint2/APKBUILD
blob: be3cb10368edebf54a7e46e28261c7ed27cad4e2 (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: Mari Hahn <mari.hahn@wwu.de>
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer:
pkgname=tint2
pkgver=0.12.3
pkgrel=0
pkgdesc="tint2 is a simple unintrusive panel/taskbar"
url="https://gitlab.com/o9000/tint2"
arch="all"
license="GPL2"
depends="imlib2 glib pango cairo libxcomposite libxdamage
	libxinerama libxrandr gtk+"
depends_dev="cmake imlib2-dev glib-dev pango-dev cairo-dev
	libxcomposite-dev libxdamage-dev libxinerama-dev libxrandr-dev
	gtk+-dev librsvg-dev startup-notification-dev linux-headers"
makedepends="$depends_dev"
install=""
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://gitlab.com/o9000/${pkgname}/repository/archive.tar.gz?ref=${pkgver}"

_builddir="$srcdir"/$pkgname-$pkgver-5f4154408953a75458e7c5125ef3b9fdfe86ff0a
build() {
	cd "$_builddir"
	cmake \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib \
		-DBUILD_SHARED_LIBS=True \
		-DCMAKE_BUILD_TYPE=Release \
		-DCMAKE_CXX_FLAGS="$CXXFLAGS" \
		-DCMAKE_C_FLAGS="$CFLAGS" \
		|| return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="${pkgdir}" install || return 1
}

md5sums="b0ec14b4f0c9dfd61a6956be1b0cc01e  tint2-0.12.3.tar.gz"
sha256sums="7f1f7cdb8eecfaaac620589c327bf29def457a9d38cee587769c93aacd2a3e36  tint2-0.12.3.tar.gz"
sha512sums="f847691e2b9ba9148374fe24836655d25ef05ae9a04525593d4595d647e404c68b619308a0b9da77ccc9b2633547bec16b57e77b859a56161ca91754bbd8416e  tint2-0.12.3.tar.gz"