summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorMax Rees <maxcrees@me.com>2018-08-05 03:20:25 -0400
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-09-06 22:18:10 +0000
commit10eeae4d15e9bac89195fdd191de96d3b409bfd8 (patch)
treec5ea38bb6a9b11db8947376292206ed6da6f878d /user
parentfb7f546314af4c6d2c3208d2aec3e9c772f9e704 (diff)
downloadpackages-10eeae4d15e9bac89195fdd191de96d3b409bfd8.tar.gz
packages-10eeae4d15e9bac89195fdd191de96d3b409bfd8.tar.bz2
packages-10eeae4d15e9bac89195fdd191de96d3b409bfd8.tar.xz
packages-10eeae4d15e9bac89195fdd191de96d3b409bfd8.zip
user/tint2: pull in, fix license, modernize, upgrade
Diffstat (limited to 'user')
-rw-r--r--user/tint2/APKBUILD43
1 files changed, 43 insertions, 0 deletions
diff --git a/user/tint2/APKBUILD b/user/tint2/APKBUILD
new file mode 100644
index 000000000..b8ec7a53b
--- /dev/null
+++ b/user/tint2/APKBUILD
@@ -0,0 +1,43 @@
+# Contributor: Mari Hahn <mari.hahn@wwu.de>
+# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
+# Contributor: Francesco Colista <fcolista@alpinelinux.org>
+# Maintainer: Max Rees <maxcrees@me.com>
+pkgname=tint2
+pkgver=16.6
+pkgrel=0
+pkgdesc="Simple, unintrusive panel/taskbar"
+url="https://gitlab.com/o9000/tint2"
+arch="all"
+license="GPL-2.0-only AND GPL-2.0+ AND MIT AND Custom:zlib-optional-acknowledgement"
+options="!check" # No test suite.
+depends=""
+makedepends="cmake imlib2-dev glib-dev pango-dev cairo-dev
+ libxcomposite-dev libxdamage-dev libxinerama-dev libxrandr-dev
+ gtk+2.0-dev librsvg-dev startup-notification-dev linux-headers"
+subpackages="$pkgname-doc $pkgname-lang"
+source="$pkgname-$pkgver.tar.bz2::https://gitlab.com/o9000/$pkgname/repository/v$pkgver/archive.tar.bz2"
+
+prepare() {
+ mv "$srcdir/$pkgname-v$pkgver"-* "$builddir"
+ mkdir "$builddir"/build
+}
+
+build() {
+ cd "$builddir"/build
+ cmake \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_SYSCONFDIR=/etc \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DCMAKE_BUILD_TYPE=RelWithDebugInfo \
+ -DCMAKE_CXX_FLAGS="$CXXFLAGS" \
+ -DCMAKE_C_FLAGS="$CFLAGS" \
+ ..
+ make
+}
+
+package() {
+ cd "$builddir"/build
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="70ba1b338c19d2b61804b6cedda659f1dfe90cbeb2c02e2e37a8b35770f2ef826b373c050449bddc1995628e6b413ea18a0f939766c4f22b8147bf39af3e81cd tint2-16.6.tar.bz2"