mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-17 23:34:07 +00:00
extra/conky to 1.12.2-2
This commit is contained in:
parent
89c68b7bf8
commit
efcde16c18
1 changed files with 10 additions and 2 deletions
|
@ -11,12 +11,12 @@
|
|||
pkgname=conky
|
||||
pkgver=1.12.2
|
||||
_gitcommit=52e5aa53b4c76973519a770949dc8bdca0145325
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc='Lightweight system monitor for X'
|
||||
url='https://github.com/brndnmtthws/conky'
|
||||
license=('BSD' 'GPL')
|
||||
arch=('x86_64')
|
||||
makedepends=('cmake' 'docbook2x' 'docbook-xsl' 'man-db' 'git')
|
||||
makedepends=('cmake' 'docbook2x' 'docbook-xsl' 'man-db' 'git' 'catch2')
|
||||
depends=(
|
||||
'glibc' 'glib2' 'lua' 'wireless_tools' 'libxdamage' 'libxinerama' 'libxft' 'imlib2'
|
||||
'libxml2' 'libpulse' 'systemd-libs' 'ncurses' 'curl'
|
||||
|
@ -33,11 +33,19 @@ pkgver() {
|
|||
git describe --tags --match 'v*' | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
|
||||
}
|
||||
|
||||
prepare() {
|
||||
cd $pkgname
|
||||
# Unbundle catch2 to fix build with glibc 2.35
|
||||
rm -r tests/catch2
|
||||
ln -s /usr/include/catch2 tests
|
||||
}
|
||||
|
||||
build() {
|
||||
cd ${pkgname}
|
||||
cmake \
|
||||
-B build \
|
||||
-D CMAKE_BUILD_TYPE=Release \
|
||||
-D CMAKE_CXX_FLAGS="$CXXFLAGS -ffat-lto-objects" \
|
||||
-D MAINTAINER_MODE=ON \
|
||||
-D BUILD_DOCS=ON \
|
||||
-D BUILD_WLAN=ON \
|
||||
|
|
Loading…
Reference in a new issue