diff options
author | zan | 2020-07-01 19:43:46 -0400 |
---|---|---|
committer | zan | 2020-07-01 19:43:46 -0400 |
commit | 44a9972b9af74ff800ea8bf8e1e10e728f5b3c69 (patch) | |
tree | cc940fcce5e3f420132ed45735f3d00e1963fe23 | |
parent | ab965dacdd5cdc6bb489a77b9636c5a8e1f6fe73 (diff) | |
download | aur-44a9972b9af74ff800ea8bf8e1e10e728f5b3c69.tar.gz |
invent.kde migration
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 26 |
2 files changed, 9 insertions, 22 deletions
@@ -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 @@ -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 } |