mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-02 02:42:56 +02:00
i3status: update to 2.8.
This commit is contained in:
parent
5c0f03cc3c
commit
0d46efc6ad
1 changed files with 4 additions and 15 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'i3status'
|
# Template file for 'i3status'
|
||||||
pkgname=i3status
|
pkgname=i3status
|
||||||
version=2.7
|
version=2.8
|
||||||
revision=2
|
revision=1
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
hostmakedepends="asciidoc pkg-config"
|
hostmakedepends="asciidoc pkg-config"
|
||||||
makedepends="yajl-devel confuse-devel wireless_tools-devel alsa-lib-devel libcap-devel"
|
makedepends="yajl-devel confuse-devel wireless_tools-devel alsa-lib-devel libcap-devel"
|
||||||
|
@ -12,20 +12,9 @@ maintainer="davehome <davehome@redthumb.info.tm>"
|
||||||
license="BSD"
|
license="BSD"
|
||||||
homepage="http://i3.zekjur.net/i3status/"
|
homepage="http://i3.zekjur.net/i3status/"
|
||||||
distfiles="${homepage}/${pkgname}-${version}.tar.bz2"
|
distfiles="${homepage}/${pkgname}-${version}.tar.bz2"
|
||||||
checksum=073f4e5de3bc5afc1f23c52ea52e2aa4b90ca8a012f28ba2c5fac3c33474a632
|
checksum=ab06c5dd454354e6fc64354082616115082b70dc3906361bce5a02beb0f807fe
|
||||||
|
|
||||||
do_build() {
|
|
||||||
export CFLAGS="$CFLAGS -std=c99"
|
|
||||||
if [ "$CROSS_BUILD" ]; then
|
|
||||||
export PKG_CONFIG_PATH="$XBPS_CROSS_BASE/usr/lib/pkgconfig"
|
|
||||||
export PKG_CONFIG_SYSROOT_DIR="$XBPS_CROSS_BASE"
|
|
||||||
fi
|
|
||||||
make ${makejobs}
|
|
||||||
}
|
|
||||||
|
|
||||||
do_install() {
|
|
||||||
make DESTDIR=${DESTDIR} install
|
|
||||||
|
|
||||||
|
post_install() {
|
||||||
# detect dhcpcd.
|
# detect dhcpcd.
|
||||||
sed -i -e "s#dhclient#dhcpcd#g" ${DESTDIR}/etc/i3status.conf
|
sed -i -e "s#dhclient#dhcpcd#g" ${DESTDIR}/etc/i3status.conf
|
||||||
vinstall LICENSE 644 usr/share/licenses/${pkgname}
|
vinstall LICENSE 644 usr/share/licenses/${pkgname}
|
||||||
|
|
Loading…
Add table
Reference in a new issue