fpc packages were moved to desktop

This commit is contained in:
Fabian Kosmale 2016-03-13 22:42:59 +00:00
parent 66274658ac
commit 855c175fe2
3 changed files with 0 additions and 99 deletions

View File

@ -1,31 +0,0 @@
pkgname=fpc-qtbindings
pkgver=2.5
pkgrel=1
_qt4pas=V"$pkgver"_Qt4.5.3
pkgdesc='Free Pascal Qt4 Binding'
url='http://users.telenet.be/Jan.Van.hijfte/qtforfpc/fpcqt4.html'
license=('GPL')
depends=('qt')
makedepends=('gdk-pixbuf' 'qtwebkit')
arch=('i686' 'x86_64')
source=(http://users.telenet.be/Jan.Van.hijfte/qtforfpc/V"$pkgver"/qt4pas-$_qt4pas.tar.gz)
# http://chakra-linux.org/sources/fpc-qtbindings/gdk-pixbuf-1.0.tar.gz)
md5sums=('8249bc17e4167e077d22c7f5fb118bb2')
# 'e0cd561f24e8fd71621230c24fed73cc')
build() {
cd $srcdir/qt4pas-$_qt4pas
qmake
make
}
package() {
cd $srcdir/qt4pas-$_qt4pas
install -dvm755 $pkgdir/usr/lib
cp -v libQt4Pas.so.5.$pkgver $pkgdir/usr/lib
ln -sfv libQt4Pas.so.5.$pkgver $pkgdir/usr/lib/libQt4Pas.so.5.2
ln -sfv libQt4Pas.so.5.$pkgver $pkgdir/usr/lib/libQt4Pas.so.5
ln -sfv libQt4Pas.so.5.$pkgver $pkgdir/usr/lib/libQt4Pas.so
# mkdir -p $pkgdir/usr/include/gdk-pixbuf-1.0/gdk-pixbuf
# cp -v $srcdir/gdk-pixbuf/* $pkgdir/usr/include/gdk-pixbuf-1.0/gdk-pixbuf
}

View File

@ -1,17 +0,0 @@
# Maintainer: Fabian Kosmale <0inkane@googlemail.com>
pkgname=fpc-src
pkgver=2.6.2
pkgrel=1
pkgdesc='Sources for the FreePascal compiler (required by the Lazarus IDE)'
url='http://www.freepascal.org/'
license=('GPL')
arch=('any')
options=('!strip')
source=(ftp://ftp.freepascal.org/pub/fpc/dist/$pkgver/source/fpcbuild-$pkgver.tar.gz)
md5sums=('89c7e60db6280f3d5cc006a4a9ff43a9')
build() {
cd $srcdir/fpcbuild-$pkgver/fpcsrc
mkdir -p $pkgdir/usr/lib/fpc/src
cp -R . $pkgdir/usr/lib/fpc/src
}

View File

@ -1,51 +0,0 @@
# Maintainer: Fabian Kosmale <0inkane@googlemail.com>
pkgname=fpc
pkgver=2.6.2
pkgrel=1
_gdbver=7.5.1
pkgdesc="The Free Pascal Compiler is a Turbo Pascal 7.0 and Delphi compatible 32bit Pascal Compiler. It comes with fully TP 7.0 compatible run-time library."
arch=('i686' 'x86_64')
url="http://www.freepascal.org/"
license=('GPL' 'LGPL' 'custom')
backup=("etc/fpc.cfg")
depends=(ncurses)
makedepends=(fpc)
options=(zipman)
source=("ftp://ftp.freepascal.org/pub/fpc/dist/$pkgver/source/fpcbuild-$pkgver.tar.gz"
"http://ftp.gnu.org/gnu/gdb/gdb-${_gdbver}.tar.bz2")
md5sums=('89c7e60db6280f3d5cc006a4a9ff43a9'
'3f48f468b24447cf24820054ff6e85b1')
build() {
cd ${srcdir}/fpcbuild-$pkgver
export GDBLIBDIR=${srcdir}/gdb-${_gdbver}/gdb
export LIBGDBFILE=$GDBLIBDIR/libgdb.a
pushd fpcsrc/compiler
fpcmake -Tall
popd
make NOGDB=1 build
}
package() {
cd ${srcdir}/fpcbuild-$pkgver
export HOME=$srcdir
make -j1 NOGDB=1 PREFIX=${pkgdir}/usr install
export PATH=$pkgdir/usr/bin:$PATH
install -Dm0644 fpcsrc/rtl/COPYING.FPC ${pkgdir}/usr/share/licenses/${pkgname}/COPYING.FPC
[ "$CARCH" = "x86_64" ] && ln -s /usr/lib/fpc/${pkgver}/ppcx64 ${pkgdir}/usr/bin/
mkdir -p ${pkgdir}/etc
${pkgdir}/usr/lib/fpc/${pkgver}/samplecfg $pkgdir/usr/lib/fpc/${pkgver} ${pkgdir}/etc
# use -fPIC by default, this should prevent some bug
echo -e "#ifdef cpux86_64\n# for x86_64 use -fPIC by default\n-Cg\n#endif" >> "$pkgdir/etc/fpc.cfg"
mv $pkgdir/usr/man $pkgdir/usr/share/
find $pkgdir/etc/ -type f -exec sed -i "s|$pkgdir||g" {} \;
}