Created
August 6, 2020 00:01
-
-
Save Tosainu/0fd4272fa909d46356d8acf35955f4e8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- PKGBUILD.orig 2020-08-06 08:56:57.467622808 +0900 | |
+++ PKGBUILD 2020-08-06 08:59:57.396027278 +0900 | |
@@ -1,29 +1,30 @@ | |
# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> | |
# Contributor: Sébastien Luttringer | |
-pkgname=vicious | |
+_pkgname=vicious | |
+pkgname=vicious-lua53 | |
pkgver=2.4.1 | |
pkgrel=1 | |
pkgdesc='Widgets for the Awesome window manager' | |
url='https://github.com/Mic92/vicious' | |
arch=('any') | |
license=('GPL2') | |
-depends=('lua') | |
+depends=('lua53') | |
optdepends=( | |
'hddtemp: for the HDD Temp widget type' | |
'alsa-utils: for the Volume widget type' | |
'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) | |
+source=(https://github.com/Mic92/vicious/archive/v${pkgver}/${_pkgname}-${pkgver}.tar.gz) | |
sha256sums=('02a123e77c42cb5bfff66e1bf95e5b8219ec83de91ecef5e4951be021438f3a3') | |
sha512sums=('f236552815d896dc50ca6a92896d135fa4c7f31c8f8c6685909c4a2bc0b5349fe0e1ce173c58a95ccd9f6f23d0af47236d3146a75669a9eeebf18e778e6edeef') | |
package() { | |
- cd ${pkgname}-$pkgver | |
- install -Dm 644 *.lua -t "${pkgdir}/usr/share/lua/5.4/${pkgname}" | |
- install -Dm 644 widgets/*.lua -t "${pkgdir}/usr/share/lua/5.4/${pkgname}/widgets" | |
- install -Dm 644 contrib/*.lua -t "${pkgdir}/usr/share/lua/5.4/${pkgname}/contrib" | |
+ 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 Changes.md -t "${pkgdir}/usr/share/doc/${pkgname}" | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment