diff options
author | Dāvis Mosāns | 2023-03-04 19:37:40 +0000 |
---|---|---|
committer | Dāvis Mosāns | 2023-03-04 19:37:40 +0000 |
commit | 512164581ed82ea1a89dd093341298949557b4d5 (patch) | |
tree | 0dff01a82da359e0660e2f8345772d4bab1baf5c | |
download | aur-kmoretools-git.tar.gz |
First pre-release
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | .gitignore | 5 | ||||
-rw-r--r-- | PKGBUILD | 30 |
3 files changed, 53 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..ad1ac3b3ed8d --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +pkgbase = kmoretools-git + pkgdesc = Support for downloading application assets from the network + pkgver = v5.102.0.r34.g31399a2e + pkgrel = 1 + url = https://invent.kde.org/libraries/kmoretools + arch = x86_64 + groups = kf5 + license = LGPL + makedepends = git + makedepends = ninja + makedepends = extra-cmake-modules-git + depends = qt6-base + provides = kmoretools + conflicts = kmoretools + source = git+https://invent.kde.org/libraries/kmoretools.git + sha256sums = SKIP + +pkgname = kmoretools-git diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..cbb209ade219 --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +/pkg +/src +/*.tar +/kmoretools + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..c1d4b1b01f7b --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,30 @@ + +pkgname=kmoretools-git +_name=${pkgname%-git} +pkgver=v5.102.0.r34.g31399a2e +pkgrel=1 +pkgdesc='Support for downloading application assets from the network' +arch=(x86_64) +url='https://invent.kde.org/libraries/kmoretools' +license=(LGPL) +depends=(qt6-base) +makedepends=(git ninja extra-cmake-modules-git) +groups=(kf5) +conflicts=(kmoretools) +provides=(kmoretools) +source=("git+https://invent.kde.org/libraries/$_name.git") +sha256sums=('SKIP') + +pkgver() { + cd "$_name" + git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g' +} + +build() { + cmake -G Ninja -DBUILD_QCH=ON -DBUILD_TESTING=OFF -DCMAKE_BUILD_TYPE=RelWithDebInfo -B build -S "$_name" + cmake --build build +} + +package() { + DESTDIR="$pkgdir" cmake --install build +} |