gtk/oxygen-gtk2/PKGBUILD

32 lines
809 B
Bash
Raw Normal View History

2013-05-01 04:04:48 +08:00
pkgname=oxygen-gtk2
2013-09-02 05:08:42 +08:00
pkgver=1.4.0
pkgrel=2
2013-05-01 04:04:48 +08:00
pkgdesc="The Oxygen engine for GTK2, for better Qt/GKT+ integration."
arch=('x86_64')
url=("https://projects.kde.org/projects/playground/artwork/oxygen-gtk")
license=('LGPL3' 'GPL')
depends=('cairo')
makedepends=('gcc' 'cmake' 'gtk2')
2013-05-01 04:04:48 +08:00
provides=('oxygen-gtk')
conflicts=('oxygen-gtk')
categories=('system')
groups=('gtk-integration')
install=install
source=("http://download.kde.org/stable/${pkgname}/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2")
2013-09-02 05:08:42 +08:00
md5sums=('ccc9e468a5ea04159ca2040ee3f434e1')
2013-05-01 04:04:48 +08:00
build() {
cd $srcdir/$pkgname-$pkgver
rm -rf build
mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_SKIP_RPATH=ON \
-DCMAKE_INSTALL_PREFIX=/usr ..
2013-05-01 04:04:48 +08:00
make
}
package() {
cd $srcdir/$pkgname-$pkgver/build
make DESTDIR="${pkgdir}" install
}