Robin Candau pushed to branch main at Arch Linux / Packaging / Packages / rofi
Commits:
f30a3be9 by Robin Candau at 2024-12-27T11:43:13+01:00
Style changes to the PKGBUILD
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
pkgbase = rofi
pkgdesc = A window switcher, application launcher and dmenu replacement
pkgver = 1.7.5
- pkgrel = 3
+ pkgrel = 1
url = https://github.com/DaveDavenport/rofi
arch = x86_64
license = MIT
=====================================
PKGBUILD
=====================================
@@ -10,39 +10,39 @@
pkgname=rofi
pkgver=1.7.5
-pkgrel=3
-pkgdesc='A window switcher, application launcher and dmenu replacement'
-arch=(x86_64)
-url="https://github.com/DaveDavenport/$pkgname"
-license=(MIT)
-depends=(libxdg-basedir startup-notification libxkbcommon-x11 xcb-util-wm
xcb-util-xrm librsvg xcb-util-cursor)
-makedepends=(check)
+pkgrel=1
+pkgdesc="A window switcher, application launcher and dmenu replacement"
+url="https://github.com/DaveDavenport/rofi"
+arch=('x86_64')
+license=('MIT')
+depends=('libxdg-basedir' 'startup-notification' 'libxkbcommon-x11'
'xcb-util-wm' 'xcb-util-xrm' 'librsvg' 'xcb-util-cursor')
+makedepends=('check')
optdepends=('i3-wm: use as a window switcher')
-source=("$url/releases/download/$pkgver/$pkgname-$pkgver.tar.xz")
+source=("${url}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.xz")
sha256sums=('caffcf66d165cb32b748c1db7f229d6d75da58c1685eb17455f65c60e8220c8d')
prepare() {
- cd "$pkgname-$pkgver"
- sed -i "s/xfce4-terminal.wrapper/xfce4-terminal/g"
script/rofi-sensible-terminal
+ cd "${pkgname}-${pkgver}"
+ sed -i "s/xfce4-terminal.wrapper/xfce4-terminal/g"
script/rofi-sensible-terminal
}
build() {
- cd "$pkgname-$pkgver"
- autoreconf -i
- ./configure --prefix=/usr --sysconfdir=/etc
- make
+ cd "${pkgname}-${pkgver}"
+ autoreconf -i
+ ./configure --prefix=/usr --sysconfdir=/etc
+ make
}
check() {
- cd "$pkgname-$pkgver"
- LC_ALL=C make check
+ cd "${pkgname}-${pkgver}"
+ LC_ALL=C make check
}
package() {
- cd "$pkgname-$pkgver"
- make install install-man DESTDIR="$pkgdir"
+ cd "${pkgname}-${pkgver}"
+ make install install-man DESTDIR="${pkgdir}"
- install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
- install -dm755 "$pkgdir/usr/share/doc/$pkgname/examples"
- install -Dm755 Examples/*.sh "$pkgdir/usr/share/doc/$pkgname/examples"
+ install -Dm 644 COPYING
"${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
+ install -dm 755 "$pkgdir/usr/share/doc/$pkgname/examples"
+ install -Dm 755 Examples/*.sh
"${pkgdir}/usr/share/doc/${pkgname}/examples"
}
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/rofi/-/commit/f30a3be9989fdf03fd3f8cdd6bfb025b95bddf0e
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/rofi/-/commit/f30a3be9989fdf03fd3f8cdd6bfb025b95bddf0e
You're receiving this email because of your account on gitlab.archlinux.org.