blob: 54a591598a4ff0123577e22d864fde2e87d531b7 (
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
|
# 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=0.13.1
_gitver=4d12abdb4263d6875b069e7b2c214e65a7c1edac
pkgrel=1
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=""
makedepends="$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"
install=""
subpackages="$pkgname-doc $pkgname-lang"
source="$pkgname-$pkgver.tar.gz::https://gitlab.com/o9000/${pkgname}/repository/archive.tar.gz?ref=${pkgver}"
builddir="$srcdir"/$pkgname-$pkgver-$_gitver
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
}
sha512sums="c41e70663a57c3d40a55589ed0dc85aebcaf39356fa145e11a3762e036580c1a3fe2566272cab96a28ebe3709eb2bf5caaac08bc12a239a8f7e7bcd6101e0708 tint2-0.13.1.tar.gz"
|