2013-05-01 04:04:48 +08:00
|
|
|
pkgname=oxygen-gtk2
|
2014-10-31 22:54:13 +08:00
|
|
|
pkgver=1.4.6
|
2014-11-23 23:58:10 +08:00
|
|
|
pkgrel=2
|
2014-10-31 22:54:13 +08:00
|
|
|
pkgdesc="The Oxygen engine for GTK2, for better Qt/GTK+ integration."
|
2013-05-01 04:04:48 +08:00
|
|
|
arch=('x86_64')
|
2018-05-16 01:52:33 +08:00
|
|
|
url="https://projects.kde.org/projects/playground/artwork/oxygen-gtk"
|
2014-03-08 23:03:45 +08:00
|
|
|
license=('LGPL')
|
|
|
|
depends=('cairo' 'gtk2')
|
|
|
|
makedepends=('cmake')
|
2013-05-01 04:04:48 +08:00
|
|
|
categories=('system')
|
|
|
|
groups=('gtk-integration')
|
|
|
|
install=install
|
|
|
|
source=("http://download.kde.org/stable/${pkgname}/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2")
|
2014-10-31 22:54:13 +08:00
|
|
|
md5sums=('493892fc36302bfe862604f667a6c04e')
|
2014-03-08 23:03:45 +08:00
|
|
|
|
|
|
|
prepare() {
|
|
|
|
if [[ -e build ]]; then rm -rf build; fi
|
|
|
|
mkdir build
|
|
|
|
}
|
2013-05-01 04:04:48 +08:00
|
|
|
|
|
|
|
build() {
|
2014-03-08 23:03:45 +08:00
|
|
|
cd build
|
|
|
|
cmake ../${pkgname}-${pkgver} \
|
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
2014-11-23 23:58:10 +08:00
|
|
|
-DOXYGEN_ICON_HACK=0 \
|
2014-03-08 23:03:45 +08:00
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr
|
|
|
|
make
|
2013-05-01 04:04:48 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2014-03-08 23:03:45 +08:00
|
|
|
cd build
|
|
|
|
make DESTDIR="${pkgdir}" install
|
2014-10-31 22:54:13 +08:00
|
|
|
}
|