Created
January 2, 2015 20:35
-
-
Save anonymous/41c3093f23425c15a999 to your computer and use it in GitHub Desktop.
polymer - qtchooser no longer provides 3.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Contributor: Artem Sorokin <mail.dextor@gmail.com> | |
pkgname=polymer | |
pkgver=0.3.2 | |
pkgrel=8 | |
pkgdesc="A port of KDE QT style Plastik, which does not depend on any KDE libraries" | |
arch=('i686' 'x86_64') | |
license=('GPL') | |
url="http://kde-look.org/content/show.php?content=21748" | |
depends=('qt3') | |
source=(http://www.kde-look.org/CONTENT/content-files/21748-polymer-0.3.2.tar.bz2) | |
md5sums=('5e566deb55586069378c85cb477f5005') | |
sed_makefile() { | |
sed -i 's/-I$(QTDIR)\/include/-I\/usr\/include\/qt3/' Makefile | |
sed -i 's/ -lqt / -lqt-mt /' Makefile | |
} | |
build() { | |
cd $srcdir/polymer-$pkgver | |
export QTDIR=/usr/lib/qt3 | |
./configure --prefix=/usr | |
cd style | |
qmake-qt3 && sed_makefile | |
cd ../config | |
qmake-qt3 && sed_makefile | |
cd .. | |
make -C style | |
make -C config | |
} | |
package() { | |
cd $srcdir/polymer-$pkgver | |
make libdir=$pkgdir/usr/lib/qt3/plugins/styles prefix=$pkgdir/usr install | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment