You are not logged in.
I have the latest wine installed via multilib with no modifications (installed simply by pacman -S wine). However, this wine does not work with a program I need to have. Wine 1.2 does, and luckily there is a wine-stable in the AUR that is in the 1.2 range. However, one other app I need only works with 1.3, so I have to have both.
The wine-stable package is found here: http://aur.archlinux.org/packages.php?ID=35486
What would I need to change in the PKGBUILD to get it to install wine to /opt instead of /usr? Taking a look, I think in this portion:
msg2 "Building Wine..."
cd "$srcdir/$pkgname_real-32-build"
../$pkgname_real/configure \
--prefix=/usr \
--sysconfdir=/etc \
--with-x
make
}I would need to change --prefix=/usr \ to --prefix=/opt \ and in this section:
msg2 "Packaging Wine..."
cd "$srcdir/$pkgname_real-32-build"
make prefix="$pkgdir/usr" install
mkdir -p "$pkgdir/etc/wine"
}I would need to change the make prefix to $pkgdir/opt
Does this seem right or am I missing something?
Last edited by GSF1200S (2011-09-01 15:28:00)
Offline
Sounds about right, although normally in opt you'd have
/opt/package_name/...I think you should also skip the sysconfdir bit.
Offline