mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-01-23 02:36:05 +00:00
Update Arch Linux PKGBUILD_template for new artifacts changes
New packaging seems to change a couple of things: 1. Package version is no longer included on the filename of the release artifact 2. Looks like the directory inside the package new includes spaces on the target install dir
This commit is contained in:
parent
f01872e3fe
commit
9b32f513f2
1 changed files with 3 additions and 3 deletions
|
|
@ -14,13 +14,13 @@ provides=("${_pkgname}")
|
|||
conflicts=("${_pkgname}"
|
||||
"${_pkgname}-git")
|
||||
md5sums=('SKIP')
|
||||
source=("https://github.com/johannesjo/super-productivity/releases/download/v${pkgver}/superProductivity_${pkgver}_amd64.deb")
|
||||
source=("https://github.com/johannesjo/super-productivity/releases/download/v${pkgver}/superProductivity-amd64.deb")
|
||||
|
||||
package() {
|
||||
tar -xvf data.tar.xz -C "${pkgdir}"
|
||||
rm -rf "${pkgdir}/usr/share/doc"
|
||||
install -d "${pkgdir}/usr/bin"
|
||||
ln -sf "/opt/superProductivity/${_pkgname}" "${pkgdir}/usr/bin/${_pkgname}"
|
||||
ln -sf "/opt/Super Productivity/${_pkgname}" "${pkgdir}/usr/bin/${_pkgname}"
|
||||
install -Dm644 -t "${pkgdir}/usr/share/licenses/${pkgname}" \
|
||||
"${pkgdir}/opt/superProductivity/"{'LICENSE.electron.txt','LICENSES.chromium.html'}
|
||||
"${pkgdir}/opt/Super Productivity/"{'LICENSE.electron.txt','LICENSES.chromium.html'}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue