diff options
author | David Leiter | 2016-10-17 12:20:53 +0200 |
---|---|---|
committer | David Leiter | 2016-10-17 12:20:53 +0200 |
commit | 8af39cf0c29d674db7a8ac2da0f94bb9bb4794e5 (patch) | |
tree | 4cfe1911fac940d380ba9af5d8b963d3ed47cb08 /PKGBUILD | |
download | aur-qt5ct-allow-theme-override.tar.gz |
first commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..6770517d54d1 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,40 @@ +# Maintainer: David Leiter <davidleiter92@gmail.com> +# Contributor: Antonio Rojas <arojas@archlinux.org> +# Contributor: FadeMind <fademind@gmail.com> +# Contributor: Zatherz <zatherz at linux dot pl> + +pkgname=(qt5ct-allow-theme-override) +pkgver=0.27 +pkgrel=1 +pkgdesc="Qt5 configuration utility patched to allow applications to override the theme" +arch=(i686 x86_64) +provides=('qt5ct') +conflicts=('qt5ct') +url="http://qt5ct.sourceforge.net" +license=(BSD) +depends=(qt5-svg) +makedepends=(qt5-tools) +source=("http://downloads.sourceforge.net/project/qt5ct/qt5ct-$pkgver.tar.bz2" + "allow_theme_override.patch") +sha256sums=('d3b92b9d34469cae4f66a43ca59f5f0b548ef6d37984469361329af4348ab1f3' + '3bbb92f1a5dfdb47f93eae9e9397413670dd2e49cd36715258363f4e760ab512') + + +prepare() { + cd qt5ct-$pkgver + patch -Np1 -i "${srcdir}/allow_theme_override.patch" +} + +build() { + cd qt5ct-$pkgver + qmake-qt5 qt5ct.pro + make +} + +package() { + cd qt5ct-$pkgver + make INSTALL_ROOT="$pkgdir" install + + install -Dm644 COPYING "$pkgdir"/usr/share/licenses/qt5ct/LICENSE +} + |