Skip to content

Instantly share code, notes, and snippets.

Created January 2, 2015 20:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/41c3093f23425c15a999 to your computer and use it in GitHub Desktop.
Save anonymous/41c3093f23425c15a999 to your computer and use it in GitHub Desktop.
polymer - qtchooser no longer provides 3.conf
# 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