[arch-commits] Commit in vicious/trunk (PKGBUILD)
Caleb Maclennan
alerque at gemini.archlinux.org
Sat Aug 13 07:07:21 UTC 2022
Date: Saturday, August 13, 2022 @ 07:07:20
Author: alerque
Revision: 1265864
upgpkg: vicious 2.5.1-1
Modified:
vicious/trunk/PKGBUILD
----------+
PKGBUILD | 29 +++++++++++++++--------------
1 file changed, 15 insertions(+), 14 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-08-13 07:03:52 UTC (rev 1265863)
+++ PKGBUILD 2022-08-13 07:07:20 UTC (rev 1265864)
@@ -1,14 +1,15 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Maintainer: Caleb Maclennan <caleb at alerque.com>
+# Contributor: Levente Polyak <anthraxx[at]archlinux[dot]org>
# Contributor: Sébastien Luttringer
pkgname=vicious
-pkgver=2.5.0
+pkgver=2.5.1
pkgrel=1
pkgdesc='Widgets for the Awesome window manager'
-url='https://github.com/Mic92/vicious'
-arch=('any')
-license=('GPL2')
-depends=('lua53')
+url=https://github.com/Mic92/$pkgname
+arch=(any)
+license=(GPL2)
+depends=(lua53)
optdepends=(
'hddtemp: for the HDD Temp widget type'
'alsa-utils: for the Volume widget type'
@@ -15,14 +16,14 @@
'wireless_tools: for the Wireless widget type'
'curl: for widget types accessing network resources'
)
-source=(https://github.com/Mic92/vicious/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
-sha256sums=('c25ce6e7e7539a5b62ff63ff2cc783b4f723cc1e3bcab1871804abc098d8fd96')
-sha512sums=('deb21587d1d7f2e6e4dd77c74abbfa337acf6c99ef9bebc0e505f1508afc6e3b03f043a639f866fcda0191447c103d3fba51376682201482fb669a263321dee5')
+_archive="$pkgname-$pkgver"
+source=("$url/archive/v$pkgver/$_archive.tar.gz")
+sha256sums=('29a0d645a131297dea83477a27c82dbb480c1f5288ecde911ad055b75dc9f278')
package() {
- cd ${pkgname}-$pkgver
- install -Dm 644 *.lua -t "${pkgdir}/usr/share/lua/5.3/${pkgname}"
- install -Dm 644 widgets/*.lua -t "${pkgdir}/usr/share/lua/5.3/${pkgname}/widgets"
- install -Dm 644 contrib/*.lua -t "${pkgdir}/usr/share/lua/5.3/${pkgname}/contrib"
- install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+ cd "$_archive"
+ install -Dm0644 -t "$pkgdir/usr/share/lua/5.3/$pkgname/" *.lua
+ install -Dm0644 -t "$pkgdir/usr/share/lua/5.3/$pkgname/contrib/" contrib/*.lua
+ install -Dm0644 -t "$pkgdir/usr/share/lua/5.3/$pkgname/widgets/" widgets/*.lua
+ install -Dm0644 -t "$pkgdir/usr/share/doc/$pkgname/" README.md
}
More information about the arch-commits
mailing list