mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
29 lines
876 B
Bash
29 lines
876 B
Bash
pkgname=fpc-qtbindings
|
|
pkgver=2.5
|
|
pkgrel=2
|
|
_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=('qtwebkit')
|
|
arch=('x86_64')
|
|
source=(http://users.telenet.be/Jan.Van.hijfte/qtforfpc/V"$pkgver"/qt4pas-$_qt4pas.tar.gz)
|
|
sha1sums=('89eb745e17addade5b0965defc93285680cf208c')
|
|
|
|
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
|
|
}
|