summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorzan2020-07-01 19:43:46 -0400
committerzan2020-07-01 19:43:46 -0400
commit44a9972b9af74ff800ea8bf8e1e10e728f5b3c69 (patch)
treecc940fcce5e3f420132ed45735f3d00e1963fe23
parentab965dacdd5cdc6bb489a77b9636c5a8e1f6fe73 (diff)
downloadaur-44a9972b9af74ff800ea8bf8e1e10e728f5b3c69.tar.gz
invent.kde migration
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD26
2 files changed, 9 insertions, 22 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 3cc8e08d578..0c5268e66ad 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,11 +1,8 @@
-# Generated by mksrcinfo v8
-# Sun Mar 11 23:26:49 UTC 2018
pkgbase = plasma-framework-git
pkgdesc = Plasma library and runtime components based upon KF5 and Qt5
pkgver = r13831.0ffd768
pkgrel = 2
url = https://projects.kde.org/projects/playground/libs/plasma-framework
- arch = i686
arch = x86_64
groups = kf5
license = LGPL
@@ -19,7 +16,7 @@ pkgbase = plasma-framework-git
depends = kirigami-git
provides = plasma-framework
conflicts = plasma-framework
- source = git://anongit.kde.org/plasma-framework.git
+ source = git+https://invent.kde.org/frameworks/plasma-framework.git
md5sums = SKIP
pkgname = plasma-framework-git
diff --git a/PKGBUILD b/PKGBUILD
index 20162323328..0f4d40d2978 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,12 +1,13 @@
+# Maintainer: zanny <lordzanny@gmail.com>
# Maintainer: Antonio Rojas <arojas@archlinux.org>
# Contributor: Andrea Scarpino <andrea@archlinux.org>
-# Maintainer: zanny <lordzanny@gmail.com>
pkgname=plasma-framework-git
+_name=${pkgname%-git}
pkgver=r13831.0ffd768
pkgrel=2
pkgdesc='Plasma library and runtime components based upon KF5 and Qt5'
-arch=(i686 x86_64)
+arch=(x86_64)
url='https://projects.kde.org/projects/playground/libs/plasma-framework'
license=(LGPL)
depends=(kactivities-git kparts-git kpackage-git kirigami-git)
@@ -14,30 +15,19 @@ makedepends=(extra-cmake-modules-git git qt5-tools kdoctools-git)
conflicts=(plasma-framework)
provides=(plasma-framework)
groups=(kf5)
-source=('git://anongit.kde.org/plasma-framework.git')
+source=("git+https://invent.kde.org/frameworks/$_name.git")
md5sums=('SKIP')
pkgver() {
- cd plasma-framework
+ cd $name
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
-prepare() {
- mkdir -p build
-}
-
build() {
- cd build
- cmake ../plasma-framework \
- -DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DKDE_INSTALL_LIBDIR=lib \
- -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
- -DBUILD_TESTING=OFF
- make
+ cmake -B build -S $_name
+ cmake --build build
}
package() {
- cd build
- make DESTDIR="$pkgdir" install
+ DESTDIR="$pkgdir" cmake --install build
}