gtk/oxygen-gtk2/PKGBUILD

34 lines
758 B
Bash
Raw Normal View History

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')
url="https://projects.kde.org/projects/playground/artwork/oxygen-gtk"
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')
prepare() {
if [[ -e build ]]; then rm -rf build; fi
mkdir build
}
2013-05-01 04:04:48 +08:00
build() {
cd build
cmake ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
2014-11-23 23:58:10 +08:00
-DOXYGEN_ICON_HACK=0 \
-DCMAKE_INSTALL_PREFIX=/usr
make
2013-05-01 04:04:48 +08:00
}
package() {
cd build
make DESTDIR="${pkgdir}" install
2014-10-31 22:54:13 +08:00
}