Fix broken package due to renaming

This commit is contained in:
Manuel 2022-03-02 15:38:23 +01:00
parent fc9cc86c96
commit dd48b090ef
Signed by: Manuel
GPG key ID: 4085037435E1F07A

View file

@ -15,12 +15,12 @@ source=("git://github.com/scarygliders/${pkgname//-git}.git")
sha256sums=('SKIP') sha256sums=('SKIP')
pkgver() { pkgver() {
cd "${srcdir}/${pkgname}" cd "${srcdir}/${pkgname//-git}"
printf '%s.%s' "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" printf '%s.%s' "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
} }
package() { package() {
cd "${srcdir}/${pkgname}" cd "${srcdir}/${pkgname//-git}"
install -d -m755 "${pkgdir}"/{usr/bin,opt/$pkgname} install -d -m755 "${pkgdir}"/{usr/bin,opt/$pkgname}
install -m644 Ui_*.py "${pkgdir}/opt/${pkgname}/" install -m644 Ui_*.py "${pkgdir}/opt/${pkgname}/"