diff options
author | actionless | 2022-10-31 02:44:12 +0100 |
---|---|---|
committer | actionless | 2022-10-31 02:44:12 +0100 |
commit | 1464803330db32da3e3b4925b72adadfec3b470a (patch) | |
tree | c43325c7746eb86708af5c76ed2086f9cb5f011b | |
download | aur-oomox-qt-styleplugin-git.tar.gz |
initial commit
-rw-r--r-- | .SRCINFO | 28 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 51 |
3 files changed, 83 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..5f179958192d --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,28 @@ +pkgbase = oomox-qt-styleplugin-git + pkgdesc = A style to bend Qt applications to look like they belong into themix/oomox, git package. + pkgver = 1.4.1.r27.g2d10970 + pkgrel = 1 + url = https://github.com/themix-project/oomox-qt-styleplugin + arch = x86_64 + license = GPL + makedepends = cmake + makedepends = git + makedepends = qt5-x11extras + makedepends = qt6-base + source = oomox-qt-styleplugin::git+https://github.com/themix-project/oomox-qt-styleplugin.git + sha512sums = SKIP + +pkgname = oomox-qt5-styleplugin-git + pkgdesc = A style to bend Qt5 applications to look like they belong into themix/oomox, git version + depends = qt5-base + optdepends = qt5-x11extras: For X11 and/or xwayland support + provides = oomox-qt5 + provides = oomox-qt-git + conflicts = oomox-qt + conflicts = oomox-qt5 + +pkgname = oomox-qt6-styleplugin-git + pkgdesc = A style to bend Qt6 applications to look like they belong into themix/oomox, git version + depends = qt6-base + provides = oomox-qt6 + conflicts = oomox-qt6 diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..0ca920398d9d --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +*.pkg.* +pkg/ +src/ +oomox-qt-styleplugin/ diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..b0b28d36ff77 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,51 @@ +# Contributor: actnlzz <actnlzz AT gmail MF com> +# Contributor: Taijian <taijian@posteo.de> +# Contributor: Mohammadreza Abdollahzadeh <morealaz at gmail dot com> + +pkgbase=oomox-qt-styleplugin-git +pkgname=(oomox-qt5-styleplugin-git oomox-qt6-styleplugin-git) +pkgver=1.4.1.r27.g2d10970 +pkgrel=1 +pkgdesc='A style to bend Qt applications to look like they belong into themix/oomox, git package.' +arch=(x86_64) +url='https://github.com/themix-project/oomox-qt-styleplugin' +license=(GPL) +makedepends=(cmake git qt5-x11extras qt6-base) +source=("${pkgbase%-git}::git+${url}.git") +sha512sums=('SKIP') + +pkgver() { + cd "${pkgbase%-git}" + git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' +} + +build() { + cmake -B build-qt5 -S ${pkgbase%-git} \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DUSE_QT6=OFF + cmake --build build-qt5 + + cmake -B build-qt6 -S ${pkgbase%-git} \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DUSE_QT6=ON + cmake --build build-qt6 +} + +package_oomox-qt5-styleplugin-git() { + pkgdesc='A style to bend Qt5 applications to look like they belong into themix/oomox, git version' + depends=(qt5-base) + optdepends=('qt5-x11extras: For X11 and/or xwayland support') + conflicts=(oomox-qt oomox-qt5) + provides=(oomox-qt5 oomox-qt-git) + + DESTDIR="$pkgdir" cmake --install build-qt5 +} + +package_oomox-qt6-styleplugin-git() { + pkgdesc='A style to bend Qt6 applications to look like they belong into themix/oomox, git version' + depends=(qt6-base) + conflicts=(oomox-qt6) + provides=(oomox-qt6) + + DESTDIR="$pkgdir" cmake --install build-qt6 +} |