Robin Candau pushed to branch main at Arch Linux / Packaging / Packages / rofi
Commits:
f9aa1d3d by Robin Candau at 2024-12-27T13:17:46+01:00
upgpkg: 1.7.6-2: Switch from autotools to meson
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,11 +1,12 @@
pkgbase = rofi
pkgdesc = A window switcher, application launcher and dmenu replacement
pkgver = 1.7.6
- pkgrel = 1
+ pkgrel = 2
url = https://davatorium.github.io/rofi
arch = x86_64
license = MIT
makedepends = git
+ makedepends = meson
makedepends = check
makedepends = pandoc
depends = libxdg-basedir
=====================================
PKGBUILD
=====================================
@@ -10,14 +10,14 @@
pkgname=rofi
pkgver=1.7.6
-pkgrel=1
+pkgrel=2
pkgdesc="A window switcher, application launcher and dmenu replacement"
url="https://davatorium.github.io/rofi"
arch=('x86_64')
license=('MIT')
depends=('libxdg-basedir' 'startup-notification' 'libxkbcommon-x11' 'librsvg'
'hicolor-icon-theme' 'xcb-util-wm' 'xcb-util-xrm' 'xcb-util-cursor'
'xcb-util-keysyms')
-makedepends=('git' 'check' 'pandoc')
+makedepends=('git' 'meson' 'check' 'pandoc')
optdepends=('xcb-imdkit: input method support')
source=("git+https://github.com/davatorium/rofi.git#tag=${pkgver}"
'git+https://github.com/sardemff7/libgwater.git'
@@ -34,7 +34,6 @@ prepare() {
git config submodule.subprojects/libgwater.url "${srcdir}/libgwater"
git config submodule.subprojects/libnkutils.url "${srcdir}/libnkutils"
git -c protocol.file.allow=always submodule update
- autoreconf -i
# xfce4-terminal.wrapper is a Debian specific script
# that Arch does not provide
@@ -42,20 +41,18 @@ prepare() {
}
build() {
- cd "${pkgname}"
- ./configure --prefix=/usr --sysconfdir=/etc
- make
+ arch-meson "${pkgname}" build
+ meson compile -C build
}
check() {
- cd "${pkgname}"
- LC_ALL=C make check
+ meson test -C build --print-errorlogs
}
package() {
- cd "${pkgname}"
- make install install-man DESTDIR="${pkgdir}"
+ meson install -C build --destdir "${pkgdir}"
+ cd "${pkgname}"
install -Dm 644 COPYING
"${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
- install -Dm755 Examples/*.sh -t "${pkgdir}/usr/share/doc/rofi/examples"
+ install -Dm 755 Examples/*.sh -t
"${pkgdir}/usr/share/doc/${pkgname}/examples"
}
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/rofi/-/commit/f9aa1d3d7786421d241fb402e9ab0faa6ff114b9
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/rofi/-/commit/f9aa1d3d7786421d241fb402e9ab0faa6ff114b9
You're receiving this email because of your account on gitlab.archlinux.org.