blob: def73ecdf6c7877ec2745c6d3ccd9d4feb46e63a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Maintainer: Iyán Méndez Veiga <me (at) iyanmv (dot) com>
# Contributor: Aniket Pradhan <aniket17133 (at) iiitd (dot) ac (dot) in>
# Contributor: Martin Briza <m (at) rtinbriza (dot) cz>
pkgname=adwaita-qt4
_pkgname=adwaita-qt
pkgver=1.1.4
pkgrel=1
pkgdesc='A style to bend Qt applications to look like they belong into GNOME Shell'
arch=('x86_64')
url="https://github.com/FedoraQt/adwaita-qt"
license=('GPL')
depends=('qt4')
makedepends=('cmake' 'git')
optdepends=('qgnomeplatform: apply GNOME settings to Qt apps')
source=("https://github.com/FedoraQt/${_pkgname}/archive/${pkgver}.tar.gz")
sha256sums=('350d71379adb1690aa710f23a6656b9100e04201c235e62e0e88874260420421')
build() {
cd "${srcdir}/${_pkgname}-${pkgver}"
mkdir build
cd build
cmake \
-DCMAKE_BUILD_TYPE=Release \
-DUSE_QT4=ON \
-DCMAKE_INSTALL_PREFIX=/usr ..
make
}
package() {
cd "${srcdir}/${_pkgname}-${pkgver}/build"
make DESTDIR="$pkgdir" install
install -Dm644 ../README.md "${pkgdir}/usr/share/doc/${pkgname}/README"
install -Dm644 ../LICENSE.LGPL2 "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|