gtk/qtcurve-gtk2/PKGBUILD

39 lines
967 B
Bash
Raw Normal View History

2013-05-01 06:21:23 +08:00
pkgname=qtcurve-gtk2
pkgver=1.8.16
2013-05-01 06:32:26 +08:00
pkgrel=2
2013-05-01 06:21:23 +08:00
arch=('x86_64')
license=('GPL')
pkgdesc='QtCurve-Gtk2 Add-on for Gtk-integration.'
url='http://www.kde-look.org/content/show.php?content=40492'
depends=('gtk2' 'filesystem-extra')
provides=('gtk-integration-engine-qtcurve')
conflicts=('gtk-integration-engine-qtcurve')
replaces=('gtk-integration-engine-qtcurve')
makedepends=('pkgconfig' 'cmake')
categories=('system')
options=('!libtool')
groups=('gtk-integration')
install=install
source=("http://craigd.wikispaces.com/file/view/QtCurve-Gtk2-${pkgver}.tar.bz2")
md5sums=('8923caaa0704f6a30252a5eadb015d76')
build() {
cd "${srcdir}"
mkdir -p build && cd build
cmake "${srcdir}/QtCurve-Gtk2-${pkgver}" \
-DCMAKE_BUILD_TYPE=Release \
2013-05-01 06:32:26 +08:00
-DCMAKE_INSTALL_PREFIX=/extra/usr
2013-05-01 06:21:23 +08:00
make
}
package() {
cd "${srcdir}/build"
make DESTDIR="${pkgdir}" install
2013-05-01 06:32:26 +08:00
# Move engine to /extra
cp -rvf ${pkgdir}/usr/* ${pkgdir}/extra/usr
rm -rf ${pkgdir}/usr
2013-05-01 06:21:23 +08:00
}