gtk/oxygen-gtk3/PKGBUILD

29 lines
721 B
Bash
Raw Normal View History

2013-05-06 05:39:20 +08:00
pkgname=oxygen-gtk3
2013-09-02 05:08:42 +08:00
pkgver=1.2.0
pkgrel=2
2013-05-06 05:39:20 +08:00
pkgdesc="The Oxygen engine for GTK3, for better Qt/GKT+ integration."
arch=('x86_64')
url=("http://projects.kde.org/projects/playground/artwork/oxygen-gtk/")
license=('LGPL3' 'GPL')
depends=('gtk3')
2013-09-02 05:08:42 +08:00
makedepends=('gcc' 'cmake')
2013-05-06 05:39:20 +08:00
categories=('system')
groups=('gtk-integration')
2013-09-02 05:08:42 +08:00
install=install
source=("http://download.kde.org/stable/${pkgname}/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2")
md5sums=('c89352459fa41bd35e64072e6bc89593')
2013-05-06 05:39:20 +08:00
build() {
2013-09-02 05:08:42 +08:00
cd $srcdir/$pkgname-$pkgver
2013-05-06 05:39:20 +08:00
rm -rf build
mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr ..
2013-05-06 05:39:20 +08:00
make
}
package() {
2013-09-02 05:08:42 +08:00
cd $srcdir/$pkgname-$pkgver/build
2013-05-06 05:39:20 +08:00
make DESTDIR="${pkgdir}" install
}