#Packager: Richard Lapointe #Former Packager(s): Christian Dersch #Anything commented out is optional and can be deleted. pkgname=wine pkgver=1.5.15 pkgrel=1rl #arch=noarch source=("http://ibiblio.org/pub/linux/system/emulators/wine/wine-$pkgver.tar.bz2" \ "wine.desktop" \ "winecfg.desktop" \ "winecfg.png") sourcetemplate=http://people.salixos.org/laprjns/$pkgname/$pkgver/ docs=("ANNOUNCE" "COPYING.LIB" "LICENSE" "LIVENCE.OLD" "VERSION" "readme" "install" "copying" "changelog" "authors" "news" "todo") url="http://www.winehq.com/" #dotnew=() #CFLAGS= #CXXFLAGS= #options=('noextract') #doinst() { # #} slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "wine (Wine Is Not an Emulator)" "Wine is an Open Source implementation of the Windows API on top of" "X and Linux/Unix. It allows you to run many software for Microsoft" "Windows (but not all)." "" "http://www.winehq.com/" ) build() { cd $startdir/src/$pkgname-$pkgver configure --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --localstatedir=/var \ --sysconfdir=/etc \ --mandir=/usr/man \ --docdir=/usr/doc/$pkgname-$pkgver || return 1 make || return 1 make install DESTDIR=$startdir/pkg mkdir -p $startdir/pkg/usr/share/applications mkdir -p $startdir/pkg/usr/share/icons/hicolor/32x32/apps cp -a $startdir/src/wine.desktop $startdir/pkg/usr/share/applications cp -a $startdir/src/winecfg.desktop $startdir/pkg/usr/share/applications cp -a $startdir/src/winecfg.png $startdir/pkg/usr/share/icons/hicolor/32x32/apps }