mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-11 04:24:36 +08:00
38 lines
949 B
Bash
38 lines
949 B
Bash
#
|
|
# Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer: Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
pkgname=oxygen-gtk2
|
|
pkgver=1.1.6
|
|
pkgrel=2
|
|
|
|
pkgdesc="The Oxygen engine for GTK2, for better Qt/GKT+ integration."
|
|
arch=('i686' 'x86_64')
|
|
url=("https://projects.kde.org/projects/playground/artwork/oxygen-gtk")
|
|
license=('LGPL3' 'GPL')
|
|
depends=('cairo')
|
|
makedepends=('gcc' 'cmake' 'gtk2')
|
|
provides=('oxygen-gtk')
|
|
conflicts=('oxygen-gtk')
|
|
categories=('system')
|
|
groups=('gtk-integration')
|
|
|
|
source=("ftp://ftp.caliu.cat/pub/mirrors/kde/stable/oxygen-gtk/$pkgver/src/oxygen-gtk-$pkgver.tar.bz2")
|
|
md5sums=('714cd895e276cfd20a43b406a78ae6af')
|
|
|
|
build() {
|
|
cd $srcdir/oxygen-gtk-$pkgver
|
|
rm -rf build
|
|
mkdir build && cd build
|
|
cmake -DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_SKIP_RPATH=ON \
|
|
-DCMAKE_INSTALL_PREFIX=/usr .. || return 1
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd $srcdir/oxygen-gtk-$pkgver/build
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|