xbattmon: stop vendoring config.h files
This commit is contained in:
parent
af2d741583
commit
9edec8dee0
|
@ -1,13 +0,0 @@
|
|||
char *colors[] = {
|
||||
[COLOR_BAT_CHARGED] = "green",
|
||||
[COLOR_BAT_LEFT2CHARGE] = "grey",
|
||||
[COLOR_BAT_DRAINED] = "red",
|
||||
[COLOR_BAT_LEFT2DRAIN] = "blue"
|
||||
};
|
||||
|
||||
unsigned int thickness = 2; /* 2 pixels by default */
|
||||
int placement = BOTTOM; /* set to TOP if you want a top placement */
|
||||
int maxcap = 100; /* maximum battery capacity */
|
||||
int raise = 0; /* set to 1 if you want the bar to be raised on top of other windows */
|
||||
int critical = 5; /* start blinking below 5% */
|
||||
int transparent = 0; /* transparent mode */
|
|
@ -13,6 +13,6 @@ distfiles="http://dl.2f30.org/releases/${pkgname}-${version}.tar.gz"
|
|||
checksum=4ff7b156c69a56e4e6649a9f3bf5ee72858f856e7aad3614e8b3275a29f226ff
|
||||
|
||||
pre_build() {
|
||||
cp "${FILESDIR}/config.h" .
|
||||
[ -e ${FILESDIR}/config.h ] && cp ${FILESDIR}/config.h config.h
|
||||
sed -i '/^PREFIX =*/d' config.mk
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue