New package: tint2-0.11.
This commit is contained in:
parent
5d1dedd29c
commit
1ddd199c4f
|
@ -0,0 +1,18 @@
|
|||
--- src/battery/battery.c 2010-12-02 23:56:11.313403140 +0100
|
||||
+++ src/battery/battery.c 2010-12-02 23:57:22.266956142 +0100
|
||||
@@ -184,8 +184,14 @@ void init_battery()
|
||||
}
|
||||
g_free(path2);
|
||||
}
|
||||
- if (path_energy_now && path_energy_full) {
|
||||
+
|
||||
+ path_current_now = g_build_filename(battery_dir, "power_now", NULL);
|
||||
+ if (!g_file_test (path_current_now, G_FILE_TEST_EXISTS)) {
|
||||
+ g_free(path_current_now);
|
||||
path_current_now = g_build_filename(battery_dir, "current_now", NULL);
|
||||
+ }
|
||||
+
|
||||
+ if (path_energy_now && path_energy_full) {
|
||||
path_status = g_build_filename(battery_dir, "status", NULL);
|
||||
|
||||
// check file
|
|
@ -0,0 +1,20 @@
|
|||
# Template file for 'tint2'
|
||||
pkgname=tint2
|
||||
version=0.11
|
||||
revision=1
|
||||
build_style=cmake
|
||||
hostmakedepends="cmake pkg-config"
|
||||
makedepends="libXcomposite-devel libXinerama-devel libXrandr-devel gtk+-devel imlib2-devel desktop-file-utils"
|
||||
short_desc="A basic, good-looking task manager for WMs"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
license="GPL-2"
|
||||
homepage="http://code.google.com/p/tint2/"
|
||||
distfiles="http://$pkgname.googlecode.com/files/$pkgname-${version}.tar.bz2"
|
||||
checksum=fe106e6a6057d2631abddde9f82d3fd4fb1985c4fb93f10d3886417a9e22471d
|
||||
|
||||
tint2_package() {
|
||||
depends="desktop-file-utils"
|
||||
pkg_install() {
|
||||
vmove usr
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue