[arch-commits] Commit in i3status/trunk (PKGBUILD)
Jelle van der Waa
jelle at gemini.archlinux.org
Thu Nov 11 17:40:19 UTC 2021
Date: Thursday, November 11, 2021 @ 17:40:18
Author: jelle
Revision: 1042335
upgpkg: i3status 2.14-1
Modified:
i3status/trunk/PKGBUILD
----------+
PKGBUILD | 27 +++++++++++----------------
1 file changed, 11 insertions(+), 16 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-11-11 17:40:10 UTC (rev 1042334)
+++ PKGBUILD 2021-11-11 17:40:18 UTC (rev 1042335)
@@ -5,8 +5,8 @@
# Contributor: Daniel M. Capella <polyzen at archlinux.org>
pkgname=i3status
-pkgver=2.13
-pkgrel=3
+pkgver=2.14
+pkgrel=1
pkgdesc='Generates status bar to use with i3bar, dzen2 or xmobar'
arch=('x86_64')
url='https://i3wm.org/i3status/'
@@ -13,31 +13,26 @@
license=('BSD')
groups=('i3')
depends=('alsa-lib' 'confuse' 'libnl' 'libpulse' 'yajl')
-makedepends=('asciidoc' 'xmlto')
+makedepends=('asciidoc' 'xmlto' 'meson')
backup=('etc/i3status.conf')
options=('docs')
-source=("$url/$pkgname-$pkgver.tar.bz2"{,.asc})
-md5sums=('dd9001fb9ed732142d4d7194b77486cf'
+source=("$url/$pkgname-$pkgver.tar.xz"{,.asc})
+md5sums=('55a4bb05362947947bc93f705f5d71cd'
'SKIP')
validpgpkeys=('424E14D703E7C6D43D9D6F364E7160ED4AC8EE1D') # Michael Stapelberg
build() {
- cd $pkgname-$pkgver
- autoreconf --force --install
- mkdir build && cd build
+ cd $pkgname-$pkgver/meson
- ../configure \
- --prefix=/usr \
- --sysconfdir=/etc \
- --disable-sanitizers
-
+ meson --prefix=/usr --buildtype=plain -Dmans=true .. build
+ meson compile -C build
# See https://lists.archlinux.org/pipermail/arch-dev-public/2013-April/024776.html
- make CPPFLAGS+="-U_FORTIFY_SOURCE"
+ #make CPPFLAGS+="-U_FORTIFY_SOURCE"
}
package() {
- cd $pkgname-$pkgver/build
- make DESTDIR="$pkgdir" install
+ cd $pkgname-$pkgver/meson
+ meson install -C build --destdir "$pkgdir"
install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname ../LICENSE
}
More information about the arch-commits
mailing list