[arch-commits] Commit in autorandr/trunk (PKGBUILD)
David Runge
dvzrv at gemini.archlinux.org
Thu Apr 28 07:38:52 UTC 2022
Date: Thursday, April 28, 2022 @ 07:38:52
Author: dvzrv
Revision: 1191482
upgpkg: autorandr 1.12.1-2: Rebuild to add missing dependency.
Add python-packaging (https://bugs.archlinux.org/task/74301).
Remove unneeded quotes and curly braces.
Modified:
autorandr/trunk/PKGBUILD
----------+
PKGBUILD | 13 ++++++-------
1 file changed, 6 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-04-28 07:01:17 UTC (rev 1191481)
+++ PKGBUILD 2022-04-28 07:38:52 UTC (rev 1191482)
@@ -2,26 +2,25 @@
pkgname=autorandr
pkgver=1.12.1
-pkgrel=1
+pkgrel=2
pkgdesc="Auto-detect connected display hardware and load appropiate X11 setup using xrandr"
arch=(any)
url="https://github.com/phillipberndt/autorandr"
license=(GPL3)
-depends=(python xorg-xdpyinfo xorg-xrandr)
+depends=(python-packaging xorg-xdpyinfo xorg-xrandr)
makedepends=(bash-completion systemd)
optdepends=(
'bash-completion: auto-completion for autorandr in Bash'
'zsh-completions: auto-completion for autorandr in ZSH'
)
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/phillipberndt/${pkgname}/archive/${pkgver}.tar.gz")
+source=($pkgname-$pkgver.tar.gz::https://github.com/phillipberndt/$pkgname/archive/$pkgver.tar.gz)
sha512sums=('a7e095eb96e7e0d3a5b3b2122d68a3d3a5121d8be7a86ddd9f837ad42b7a53ed5ee45151f23861c5b900e214a4dfc0c575f45fe70c8c5587562a4035458137a0')
b2sums=('5b434325d13c00c3fa70b5d09edb540cdcf3bb921307c60f2c616231e7a87ea85f60e39500ed8116f28619139f71ecc4a8fa153ffadc6b8d74df570736a0d815')
package() {
- cd "${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" PREFIX=/usr install
+ make DESTDIR="$pkgdir" PREFIX=/usr install -C $pkgname-$pkgver
# zsh completion
- install -vDm 644 "contrib/zsh_completion/_${pkgname}" -t "${pkgdir}/usr/share/zsh/site-functions/"
+ install -vDm 644 $pkgname-$pkgver/contrib/zsh_completion/_$pkgname -t "$pkgdir/usr/share/zsh/site-functions/"
# docs
- install -vDm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}/"
+ install -vDm 644 $pkgname-$pkgver/README.md -t "$pkgdir/usr/share/doc/$pkgname/"
}
More information about the arch-commits
mailing list