diff options
author | Liao Junxuan | 2024-03-09 18:22:03 +0800 |
---|---|---|
committer | Liao Junxuan | 2024-03-09 18:22:03 +0800 |
commit | 7c6ef98356b1607785e84fd649c44d19eae2952b (patch) | |
tree | 2e1a07736459594c8757787621789f7aee99f5be | |
download | aur-qt6ct-xdg-colorscheme-git.tar.gz |
initial commit
-rw-r--r-- | .SRCINFO | 20 | ||||
-rw-r--r-- | PKGBUILD | 35 |
2 files changed, 55 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..ce34be53d330 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,20 @@ +pkgbase = qt6ct-xdg-colorscheme-git + pkgdesc = Qt6 Configuration Tool (with XDG desktop portal color scheme support) + pkgver = 0.9.r5.b92366a + pkgrel = 1 + epoch = 1 + url = https://github.com/MikeWalrus/qt6ct + arch = x86_64 + license = BSD + makedepends = git + makedepends = qt6-tools + depends = gtk2 + depends = qt6-base + depends = qt6-svg + depends = xdg-desktop-portal + provides = qt6ct + conflicts = qt6ct + source = git+https://github.com/MikeWalrus/qt6ct#branch=colorscheme-portal + sha256sums = SKIP + +pkgname = qt6ct-xdg-colorscheme-git diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..27edb8f33204 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer: Junxuan Liao <mikeljx at 126 dot com> +# Contributor: éclairevoyant + +_pkgname=qt6ct +pkgname="$_pkgname-xdg-colorscheme-git" +epoch=1 +pkgver=0.9.r5.b92366a +pkgrel=1 +pkgdesc='Qt6 Configuration Tool (with XDG desktop portal color scheme support)' +arch=('x86_64') +url="https://github.com/MikeWalrus/$_pkgname" +license=('BSD') +depends=('gtk2' 'qt6-base' 'qt6-svg' 'xdg-desktop-portal') +makedepends=('git' 'qt6-tools') +provides=("$_pkgname") +conflicts=("$_pkgname") +source=("git+$url#branch=colorscheme-portal") +sha256sums=('SKIP') + +pkgver() { + cd $_pkgname + git describe --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g' +} + +build() { + cd $_pkgname + /usr/lib/qt6/bin/qmake PREFIX=/usr + make +} + +package() { + cd $_pkgname + make INSTALL_ROOT="$pkgdir" install + install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} |