Skip to content

Instantly share code, notes, and snippets.

/PKGBUILD
Created Jan 2, 2015

Embed
What would you like to do?
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
You can’t perform that action at this time.