diff options
author | zan | 2020-07-20 00:15:27 -0400 |
---|---|---|
committer | zan | 2020-07-20 00:15:27 -0400 |
commit | e707929318321256023665268c9067050c44def0 (patch) | |
tree | 4c47bccd36eb54f60b57805a4c3d4f41c83b73b5 | |
parent | 10727a6f938a956847c6b9cd8f2982ac13665300 (diff) | |
download | aur-e707929318321256023665268c9067050c44def0.tar.gz |
invent.kde migration
-rw-r--r-- | .SRCINFO | 21 | ||||
-rw-r--r-- | PKGBUILD | 44 |
2 files changed, 23 insertions, 42 deletions
@@ -1,24 +1,17 @@ -# Generated by mksrcinfo v8 -# Fri Jun 24 01:31:20 UTC 2016 pkgbase = milou-git pkgdesc = A dedicated search application built on top of Baloo - pkgver = r393.f70d1ee - pkgrel = 2 - url = https://projects.kde.org/projects/kde/workspace/milou/ - arch = i686 + pkgver = v5.18.90.r10.g7efea66 + pkgrel = 1 + url = https://invent.kde.org/plasma/milou arch = x86_64 - groups = plasma license = LGPL - makedepends = extra-cmake-modules-git + makedepends = extra-cmake-modules makedepends = git - makedepends = kdoctools-git - depends = krunner-git + makedepends = kdoctools + depends = krunner provides = milou - provides = milou-frameworks-git conflicts = milou - conflicts = milou-frameworks-git - replaces = milou-frameworks-git - source = git://anongit.kde.org/milou + source = git+https://invent.kde.org/plasma/milou.git md5sums = SKIP pkgname = milou-git @@ -1,42 +1,30 @@ # Maintainer: Antonio Rojas < nqn1976 @ gmail.com > pkgname=milou-git -pkgver=r393.f70d1ee -pkgrel=2 +_name=${pkgname%-git} +pkgver=v5.18.90.r10.g7efea66 +pkgrel=1 pkgdesc="A dedicated search application built on top of Baloo" -arch=('i686' 'x86_64') -url='https://projects.kde.org/projects/kde/workspace/milou/' -license=('LGPL') -provides=('milou' 'milou-frameworks-git') -conflicts=('milou' 'milou-frameworks-git') -replaces=('milou-frameworks-git') -depends=('krunner-git') -makedepends=('extra-cmake-modules-git' 'git' 'kdoctools-git') -source=('git://anongit.kde.org/milou') -groups=('plasma') +arch=(x86_64) +url='https://invent.kde.org/plasma/milou' +license=(LGPL) +provides=(milou) +conflicts=(milou) +depends=(krunner) +makedepends=('extra-cmake-modules' 'git' 'kdoctools') +source=("git+https://invent.kde.org/plasma/$_name.git") md5sums=('SKIP') pkgver() { - cd milou - printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" -} - -prepare() { - mkdir -p build + cd $_name + git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g' } build() { - cd build - cmake ../milou \ - -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DKDE_INSTALL_LIBDIR=lib \ - -DQML_INSTALL_DIR=lib/qt/qml \ - -DKDE_INSTALL_USE_QT_SYS_PATHS=ON - make + cmake -B build -S $_name + cmake --build build } package() { - cd build - make DESTDIR="${pkgdir}" install + DESTDIR="$pkgdir" cmake --install build } |