diff options
author | Magnus Boman | 2020-08-08 16:41:03 +0200 |
---|---|---|
committer | Magnus Boman | 2020-08-08 16:41:03 +0200 |
commit | f57ad1d1ed004efc1aeb87d6206a8aab8749100c (patch) | |
tree | bfad03e62b14b870a25c88561c67ff76a01e5d70 | |
parent | 45b4e133851393bf8c028ef5c9e73d3842620147 (diff) | |
download | aur-f57ad1d1ed004efc1aeb87d6206a8aab8749100c.tar.gz |
dolphin-git: clean up
-rw-r--r-- | .SRCINFO | 21 | ||||
-rw-r--r-- | PKGBUILD | 42 | ||||
-rw-r--r-- | dolphin-git.install | 12 |
3 files changed, 24 insertions, 51 deletions
@@ -1,27 +1,24 @@ pkgbase = dolphin-git - pkgdesc = File Manager - pkgver = r4888.8b12612 + pkgdesc = KDE File Manager (Git) + pkgver = 20.07.90.r21.g97a14db70 pkgrel = 1 - url = http://kde.org/applications/system/dolphin/ - install = dolphin-git.install + url = https://kde.org/applications/en/system/org.kde.dolphin arch = i686 arch = x86_64 license = LGPL makedepends = extra-cmake-modules - makedepends = git makedepends = kdoctools - makedepends = python + makedepends = packagekit-qt5 + makedepends = git depends = baloo-widgets-git depends = knewstuff depends = kio-extras - depends = ktexteditor - depends = kactivities-frameworks + depends = kcmutils + depends = kparts + depends = kinit provides = dolphin conflicts = dolphin - conflicts = kdebase-dolphin - conflicts = dolphin-frameworks-git - replaces = dolphin-frameworks-git - source = git://anongit.kde.org/dolphin.git + source = git+https://invent.kde.org/system/dolphin.git md5sums = SKIP pkgname = dolphin-git @@ -1,42 +1,30 @@ -# Maintainer: Antonio Rojas <arojas@archlinux,org> +# Maintainer katt <magunasu.b97@gmail.com> +# Contributor: Antonio Rojas <arojas@archlinux,org> pkgname=dolphin-git -pkgver=r4888.8b12612 +pkgver=20.07.90.r21.g97a14db70 pkgrel=1 -pkgdesc="File Manager" +pkgdesc='KDE File Manager (Git)' arch=(i686 x86_64) -url="http://kde.org/applications/system/dolphin/" +url=https://kde.org/applications/en/system/org.kde.dolphin license=(LGPL) -depends=(baloo-widgets-git knewstuff kio-extras ktexteditor kactivities-frameworks) -makedepends=(extra-cmake-modules git kdoctools python) -provides=(dolphin) -conflicts=(dolphin kdebase-dolphin dolphin-frameworks-git) -replaces=(dolphin-frameworks-git) -source=('git://anongit.kde.org/dolphin.git') -install=$pkgname.install +depends=(baloo-widgets-git knewstuff kio-extras kcmutils kparts kinit) +makedepends=(extra-cmake-modules kdoctools packagekit-qt5 git) +provides=("${pkgname%-git}") +conflicts=("${pkgname%-git}") +source=(git+https://invent.kde.org/system/dolphin.git) md5sums=('SKIP') pkgver() { - cd dolphin - printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" -} - -prepare() { - mkdir -p build + git -C "${pkgname%-git}" describe --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' } build() { - cd build - cmake ../dolphin \ - -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DLIB_INSTALL_DIR=lib \ - -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \ - -DBUILD_TESTING=OFF - make + cmake -B build -S "${pkgname%-git}" \ + -DBUILD_TESTING=OFF + cmake --build build } package() { - cd build - make DESTDIR="$pkgdir" install + DESTDIR="${pkgdir}" cmake --install build } diff --git a/dolphin-git.install b/dolphin-git.install deleted file mode 100644 index 5495fb1b5d27..000000000000 --- a/dolphin-git.install +++ /dev/null @@ -1,12 +0,0 @@ -post_install() { - xdg-icon-resource forceupdate --theme hicolor &> /dev/null - update-desktop-database -q -} - -post_upgrade() { - post_install -} - -post_remove() { - post_install -} |