summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorDeltaCopy2024-11-23 13:55:21 +0000
committerDeltaCopy2024-11-23 13:55:21 +0000
commit49536ac1db48b11303aa3e6eb27957f35717b280 (patch)
tree9f3d9c8321543aa6cb6aa94f3a9f6a66f27ddf8a /PKGBUILD
downloadaur-49536ac1db48b11303aa3e6eb27957f35717b280.tar.gz
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD77
1 files changed, 77 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..7e33fc080459
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,77 @@
+# Maintainer: DeltaCopy <7x0bb03yq@mozmail.com>
+# Description: Builds Vinyl theme from https://github.com/ekaaty/vinyl-theme
+
+# basic info
+pkgname="vinyl"
+pkgver=6.2.3.r4864928
+pkgrel=1
+pkgdesc="Vinyl Theme for KDE Plasma 6"
+url="https://github.com/ekaaty/vinyl-theme"
+arch=('x86_64' 'aarch64')
+license=("GPL-2.0-or-later")
+pkgdir="$srcdir/fakeinstall_kf6"
+build_dir="build_kf6"
+
+makedepends=(
+ 'cmake'
+ 'extra-cmake-modules'
+ 'git'
+)
+
+options=(!emptydirs !debug)
+
+source=(
+ "${pkgname}.git::git+${url}.git"
+)
+
+sha256sums=('SKIP')
+
+depends=(
+ 'kdecoration'
+ 'qt6-declarative'
+ 'kcoreaddons'
+ 'kcmutils'
+ 'kcolorscheme'
+ 'kconfig'
+ 'kguiaddons'
+ 'kiconthemes'
+ 'kwindowsystem'
+ 'kdoctools'
+ 'kpackage'
+ 'frameworkintegration'
+ 'inkscape'
+ 'xorg-xcursorgen'
+)
+
+depends=("${depends[@]}")
+
+provides=("vinyl")
+
+pkgver() {
+ cd "$srcdir/$pkgname.git"
+ git rev-parse --short HEAD
+}
+
+prepare() {
+ cd "$srcdir/$pkgname.git"
+}
+
+build() (
+ local cmake_options=(
+ -B $build_dir
+ -S "$pkgname.git"
+ -DBUILD_TESTING=OFF
+ -Wno-dev
+ )
+
+ cmake "${cmake_options[@]}"
+
+ printf "Using $(nproc) cores\n"
+ cmake --build $build_dir -j $(nproc)
+)
+
+package() (
+ install -dm755 "$pkgdir.git"
+ DESTDIR="$pkgdir" cmake --install $build_dir
+ rm -rf "$pkgdir/usr/lib/cmake"
+)