# Contributor: Mari Hahn # Contributor: Sören Tempel # Maintainer: Francesco Colista setglobal pkgname = 'tint2' setglobal pkgver = '15.0' setglobal _gitver = '"ea92bf771828b78b9dce53b8f1cbc68fe5324cbc'" setglobal pkgrel = '0' setglobal pkgdesc = '"tint2 is a simple unintrusive panel/taskbar'" setglobal url = '"https://gitlab.com/o9000/tint2'" setglobal arch = '"all'" setglobal license = '"GPL2'" setglobal options = '"!check'" setglobal depends = '"imlib2 glib pango cairo libxcomposite libxdamage libxinerama libxrandr gtk+'" setglobal makedepends = '"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'" setglobal subpackages = ""$pkgname-doc $pkgname-lang"" setglobal source = ""http://dev.alpinelinux.org/archive/$(pkgname)/$(pkgname)-$(pkgver).tar.bz2"" setglobal builddir = ""$srcdir"/$pkgname-$(pkgver)-$_gitver" proc prepare { cd $builddir mkdir -p build || return 1 } proc build { cd "$builddir"/build 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" \ .. make } proc package { cd "$builddir"/build make DESTDIR="$(pkgdir)" install || return 1 } setglobal sha512sums = '"4c64efd8a8cd68c3a6dde9af69aef6ea19aa72d08f4b53c3cdb359926658c325ffbde312f47277cada955ed46808a5a074ac9e549e9982bfcacaba2d00bd6146 tint2-15.0.tar.bz2'"