Skip to content

Commit

Permalink
wine-cachyos-opt: update pkgbuild
Browse files Browse the repository at this point in the history
  • Loading branch information
loathingKernel committed Jan 24, 2025
1 parent c9feb14 commit a59c4b8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion wine-cachyos-opt/.SRCINFO
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
pkgbase = wine-cachyos-opt
pkgdesc = A compatibility layer for running Windows programs, with extra CachyOS flavor (installs under /opt)
pkgver = 9.0.20250117
pkgrel = 2
pkgrel = 3
epoch = 2
url = https://github.com/CachyOS/wine-cachyos
install = wine.install
Expand Down
7 changes: 4 additions & 3 deletions wine-cachyos-opt/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ _srctag=9.0-20250117
pkgver=${_srctag//-/.}
_geckover=2.47.4
_monover=9.3.1
pkgrel=2
pkgrel=3
epoch=2

_pkgbasever=${pkgver/rc/-rc}
Expand Down Expand Up @@ -213,7 +213,6 @@ build() {
package() {
msg2 "Packaging Wine-32..."
cd "$srcdir/${pkgname//-opt}-32-build"

make prefix="$pkgdir/opt/${pkgname//-opt}" \
libdir="$pkgdir/opt/${pkgname//-opt}/lib32" \
dlldir="$pkgdir/opt/${pkgname//-opt}/lib32/wine" install-lib
Expand All @@ -232,12 +231,14 @@ package() {
find "$pkgdir"/opt/"${pkgname//-opt}"/lib{,32}/wine -iname "*.def" -delete

# Install wine-gecko
cd "$srcdir"
install -d -m755 "$pkgdir"/opt/"${pkgname//-opt}"/share/wine/gecko/
cp -dr --no-preserve='ownership' wine-gecko-${_geckover}-x86{,_64} "$pkgdir"/opt/"${pkgname//-opt}"/share/wine/gecko/

# Install wine-mono
cd "$srcdir"
install -d -m755 "$pkgdir"/opt/"${pkgname//-opt}"/share/wine/mono
cp -r -a --no-preserve='ownership' "wine-mono-${_monover}" "$pkgdir"/opt/"${pkgname//-opt}"/share/wine/mono
cp -r -a --no-preserve='ownership' wine-mono-${_monover} "$pkgdir"/opt/"${pkgname//-opt}"/share/wine/mono
}

# vim:set ts=8 sts=2 sw=2 et:
Expand Down

0 comments on commit a59c4b8

Please sign in to comment.