patch
This commit is contained in:
parent
bf3581bd74
commit
cd61f9edc7
2 changed files with 32 additions and 14 deletions
18
.SRCINFO
18
.SRCINFO
|
@ -1,5 +1,5 @@
|
|||
pkgbase = lcn-pro
|
||||
pkgdesc = PC program for setting up LCN modules
|
||||
pkgbase = lcn-pro-patched
|
||||
pkgdesc = PC program for setting up LCN modules - patched
|
||||
pkgver = 6.9.5
|
||||
pkgrel = 1
|
||||
url = https://www.lcn.eu/en/service/software-2/
|
||||
|
@ -9,12 +9,20 @@ pkgbase = lcn-pro
|
|||
makedepends = icoutils
|
||||
makedepends = 7zip
|
||||
depends = wine
|
||||
provides = lcn-pro
|
||||
conflicts = lcn-pro
|
||||
options = !debug
|
||||
options = !strip
|
||||
source = LCN-PRO-6.9.5_Setup.exe.zip::https://www.lcn.eu/en/?wpdmdl=8089
|
||||
source = LCN-PRO-6.9.5_Setup.exe::https://vaclive.party/software/lcn-pro/releases/download/6.9.5/LCN-PRO-6.9.5_Setup.exe
|
||||
source = LCN-PRO-6.9.5_Setup.exe.asc::https://vaclive.party/software/lcn-pro/releases/download/6.9.5/LCN-PRO-6.9.5_Setup.exe.asc
|
||||
source = LCNPRO-6.9.5_patched.exe::https://vaclive.party/software/lcn-pro/releases/download/6.9.5/LCNPRO_patched.exe
|
||||
source = LCNPRO-6.9.5_patched.exe.asc::https://vaclive.party/software/lcn-pro/releases/download/6.9.5/LCNPRO_patched.exe.asc
|
||||
source = lcn-pro.sh
|
||||
sha256sums = 82a79207886768c58b68665024b28f2a197138594726de7ba7087c7a624a5fcf
|
||||
validpgpkeys = 09BE40243217978201A0440E101BA3F4C612AA41
|
||||
sha256sums = f3312db3848dbe29af0e015279570209e765b79780a7aec30a33c48dc10d9e3a
|
||||
sha256sums = SKIP
|
||||
sha256sums = 4d0b356444afdb60399b4a7b959d8c8cfb76bade4af84bad037576f78fe41219
|
||||
sha256sums = SKIP
|
||||
sha256sums = fe1761f84dee22e2c04f2ec4dfbf9fbfd850076295cf6889ac44d6a340b0b610
|
||||
|
||||
pkgname = lcn-pro
|
||||
pkgname = lcn-pro-patched
|
||||
|
|
28
PKGBUILD
28
PKGBUILD
|
@ -1,21 +1,31 @@
|
|||
# Maintainer: nezu <nezu@nezu.cc>
|
||||
pkgname=lcn-pro
|
||||
pkgname=lcn-pro-patched
|
||||
_pkgname=lcn-pro
|
||||
pkgver=6.9.5
|
||||
pkgrel=1
|
||||
pkgdesc="PC program for setting up LCN modules"
|
||||
pkgdesc="PC program for setting up LCN modules - patched"
|
||||
arch=('x86_64')
|
||||
url="https://www.lcn.eu/en/service/software-2/"
|
||||
license=('custom')
|
||||
options=(!debug !strip)
|
||||
depends=(wine)
|
||||
makedepends=(gendesk icoutils 7zip)
|
||||
provides=('lcn-pro')
|
||||
conflicts=('lcn-pro')
|
||||
_url="https://vaclive.party/software/lcn-pro/releases/download/${pkgver}"
|
||||
source=(
|
||||
"LCN-PRO-${pkgver}_Setup.exe.zip::https://www.lcn.eu/en/?wpdmdl=8089"
|
||||
"LCN-PRO-${pkgver}_Setup.exe::$_url/LCN-PRO-${pkgver}_Setup.exe"
|
||||
"LCN-PRO-${pkgver}_Setup.exe.asc::$_url/LCN-PRO-${pkgver}_Setup.exe.asc"
|
||||
"LCNPRO-${pkgver}_patched.exe::$_url/LCNPRO_patched.exe"
|
||||
"LCNPRO-${pkgver}_patched.exe.asc::$_url/LCNPRO_patched.exe.asc"
|
||||
"lcn-pro.sh"
|
||||
)
|
||||
sha256sums=('82a79207886768c58b68665024b28f2a197138594726de7ba7087c7a624a5fcf'
|
||||
'fe1761f84dee22e2c04f2ec4dfbf9fbfd850076295cf6889ac44d6a340b0b610')
|
||||
sha256sums=('f3312db3848dbe29af0e015279570209e765b79780a7aec30a33c48dc10d9e3a'
|
||||
'SKIP'
|
||||
'4d0b356444afdb60399b4a7b959d8c8cfb76bade4af84bad037576f78fe41219'
|
||||
'SKIP'
|
||||
'fe1761f84dee22e2c04f2ec4dfbf9fbfd850076295cf6889ac44d6a340b0b610')
|
||||
validpgpkeys=('09BE40243217978201A0440E101BA3F4C612AA41') # nezu <nezu@nezu.cc>
|
||||
|
||||
prepare() {
|
||||
# extract the installer
|
||||
|
@ -30,7 +40,7 @@ prepare() {
|
|||
# generate a .desktop file
|
||||
gendesk -f -n \
|
||||
--name "LCN-PRO" \
|
||||
--pkgname "$pkgname" \
|
||||
--pkgname "$_pkgname" \
|
||||
--pkgdesc "$pkgdesc" \
|
||||
--exec lcn-pro \
|
||||
--icon lcn-pro.png \
|
||||
|
@ -38,11 +48,11 @@ prepare() {
|
|||
}
|
||||
|
||||
package() {
|
||||
install -d "$pkgdir"/usr/share/"$pkgname"
|
||||
cp -a lcn-pro/{*.exe,*.dll,Data,locale} "$pkgdir"/usr/share/"$pkgname"
|
||||
install -d "$pkgdir"/usr/share/"$_pkgname"
|
||||
cp -a lcn-pro/{*.dll,Data,locale} "$pkgdir"/usr/share/"$_pkgname"
|
||||
find "$pkgdir"/usr/share -type f -exec chmod 644 "{}" \;
|
||||
find "$pkgdir"/usr/share -type d -exec chmod 755 "{}" \;
|
||||
chmod 755 "$pkgdir"/usr/share/"$pkgname"/LCNPRO.exe
|
||||
install -Dm755 LCNPRO-${pkgver}_patched.exe "$pkgdir"/usr/share/"$_pkgname"/LCNPRO.exe
|
||||
|
||||
install -Dm755 lcn-pro.sh "$pkgdir"/usr/bin/lcn-pro
|
||||
|
||||
|
|
Loading…
Reference in a new issue