Commit 734e5a9b authored by amnon's avatar amnon

Merge branch 'master' of gitorious.org:chakra-packages/apps

parents af7cbc13 077007be
#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
pkgname=dosbox
pkgver=0.74
pkgrel=1
pkgdesc="An emulator with builtin DOS for running DOS Games"
arch=('i686' 'x86_64')
url="http://dosbox.sourceforge.net/"
license=('GPL')
depends=('sdl_net' 'sdl_sound' 'libgl' 'libpng' 'alsa-lib' 'gcc-libs')
makedepends=('mesa')
source=("http://downloads.sourceforge.net/${pkgname}/$pkgname-$pkgver.tar.gz"
'dosbox.png' 'dosbox.desktop')
md5sums=('b9b240fa87104421962d14eee71351e8'
'2aac25fc06979e375953fcc36824dc5e'
'85169ca599028bee8e29e0b3b7b34dd8')
build(){
cd ${srcdir}/${pkgname}-${pkgver}
sed -i 's/png_check_sig/png_sig_cmp/' configure || return 1
./configure --prefix=/usr \
--sysconfdir=/etc/dosbox || return 1
make || return 1
}
package() {
cd ${srcdir}/${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install || return 1
install -Dm644 ${srcdir}/${pkgname}.png \
${pkgdir}/usr/share/pixmaps/${pkgname}.png || return 1
install -Dm644 ${srcdir}/${pkgname}.desktop \
${pkgdir}/usr/share/applications/${pkgname}.desktop || return 1
}
[Desktop Entry]
Type=Application
Encoding=UTF-8
Name=dosbox Emulator
GenericName=Emulator
Comment=An emulator to run old DOS games
Icon=dosbox
Exec=dosbox
Terminal=false
Categories=Emulator;Application;
#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
pkgname=lazarus
pkgver=0.9.29
_snapshot=27128-20100818
pkgrel=1
pkgdesc='Delphi-like IDE for FreePascal'
url='http://www.lazarus.freepascal.org/'
license=('GPL2' 'MPL' 'custom:LGPL')
arch=('i686' 'x86_64')
depends=('fpc' 'fpc-src' 'fpc-qtbindings' 'qt') #'gdk-pixbuf' 'gtk2'
options=('!emptydirs' '!makeflags')
source=(ftp://ftp.hu.freepascal.org/pub/lazarus/snapshots/lazarus-$pkgver-${_snapshot}-src.tar.bz2)
md5sums=('d0d4786c20096ccd7813afacf5fbbc72')
build() {
cd $srcdir/${pkgname}
# don't 'make examples' or you'll end up with a 100MB pkg
make FPC=/usr/bin/fpc LCL_PLATFORM=qt OPT="-dUSE_QT_45" clean all || return 1
# skip the 'make install' mess completely and do everything manually
mkdir -p $pkgdir/usr/lib/lazarus $pkgdir/usr/bin
rm -r debian #:)
cp -R . $pkgdir/usr/lib/lazarus
ln -s /usr/lib/lazarus/lazarus $pkgdir/usr/bin/lazarus
ln -s /usr/lib/lazarus/startlazarus $pkgdir/usr/bin/startlazarus
ln -s /usr/lib/lazarus/lazbuild $pkgdir/usr/bin/lazbuild
install -Dm644 install/man/man1/lazbuild.1 $pkgdir/usr/share/man/man1/lazbuild.1
# make 'desktop-file-validate' happy and fix missing .png icon
sed -e 's|\(Categories\).*|\1=IDE;Development;|' -i install/lazarus.desktop
install -Dm644 install/lazarus.desktop $pkgdir/usr/share/applications/lazarus.desktop
install -Dm644 images/ide_icon48x48.png $pkgdir/usr/share/pixmaps/lazarus.png
rm -r $pkgdir/usr/lib/lazarus/install
# license files: /usr/lib/lazarus/COPYING*
install -D -m644 COPYING.modifiedLGPL.txt $pkgdir/usr/share/licenses/$pkgname/COPYING.modifiedLGPL.txt
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment