diff options
author | Gustavo Alvarez | 2016-01-17 22:09:08 +0100 |
---|---|---|
committer | Gustavo Alvarez | 2016-01-17 22:09:08 +0100 |
commit | b26204d4db65d6220caf97d1fa5702b148570ec1 (patch) | |
tree | 88f07dda1b4c481f9361a303f63e48b51b6f8725 | |
parent | 4b1cd03befeae812ce75e177836067227da9dc71 (diff) | |
download | aur-b26204d4db65d6220caf97d1fa5702b148570ec1.tar.gz |
Update PKGBUILD
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 13 | ||||
-rw-r--r-- | kwooty-frameworks-git.install | 8 |
3 files changed, 16 insertions, 13 deletions
@@ -1,8 +1,10 @@ +# Generated by mksrcinfo v8 +# Sun Jan 17 21:08:36 UTC 2016 pkgbase = kwooty-frameworks-git - pkgdesc = A friendly nzb usenet binary downloader for KDE. KF5 frameworks branch (GIT Version) - pkgver = 1.1.0.r1223.586cab9 + pkgdesc = A friendly nzb usenet binary downloader for KDE. KF5 frameworks branch. (GIT Version) + pkgver = 1.1.0.r1227.46c9020 pkgrel = 1 - url = http://kwooty.sourceforge.net/ + url = http://kwooty.sourceforge.net install = kwooty-frameworks-git.install arch = i686 arch = x86_64 @@ -3,25 +3,25 @@ # Contributor: BlackEagle < ike DOT devolder AT gmail DOT com > pkgname=kwooty-frameworks-git -pkgver=1.1.0.r1223.586cab9 +pkgver=1.1.0.r1227.46c9020 pkgrel=1 -pkgdesc="A friendly nzb usenet binary downloader for KDE. KF5 frameworks branch (GIT Version)" +pkgdesc="A friendly nzb usenet binary downloader for KDE. KF5 frameworks branch. (GIT Version)" arch=('i686' 'x86_64') -url="http://kwooty.sourceforge.net/" +url='http://kwooty.sourceforge.net' license=('GPL') depends=('kdelibs4support' 'kcmutils' 'hicolor-icon-theme') makedepends=('git' 'cmake' 'extra-cmake-modules' 'kdoctools') optdepends=('unrar: automatic RAR-archive extraction' 'p7zip: automatic zip and 7z archive extraction' 'par2cmdline: automatic file repairing') -install="${pkgname}.install" source=('git://anongit.kde.org/kwooty#branch=frameworks') sha1sums=('SKIP') +install=kwooty-frameworks-git.install pkgver() { cd kwooty _ver=$(cat src/main.cpp | grep 'ki18n("Kwooty"),' | cut -d '"' -f4) - echo "$(echo ${_ver} | tr ' ' .).r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)" + echo "${_ver}.r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)" } prepare() { @@ -34,7 +34,8 @@ build() { -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DLIB_INSTALL_DIR=lib \ - -DKDE_INSTALL_USE_QT_SYS_PATHS=ON + -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \ + -DBUILD_TESTS=OFF make } diff --git a/kwooty-frameworks-git.install b/kwooty-frameworks-git.install index 71cabd6323f7..ec506fa9330b 100644 --- a/kwooty-frameworks-git.install +++ b/kwooty-frameworks-git.install @@ -1,12 +1,12 @@ post_install() { - update-desktop-database -q - gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor + update-desktop-database -q + xdg-icon-resource forceupdate --theme hicolor &> /dev/null } post_upgrade() { - post_install + post_install } post_remove() { - post_install + post_install } |