summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGustavo Alvarez2016-01-17 22:09:08 +0100
committerGustavo Alvarez2016-01-17 22:09:08 +0100
commitb26204d4db65d6220caf97d1fa5702b148570ec1 (patch)
tree88f07dda1b4c481f9361a303f63e48b51b6f8725
parent4b1cd03befeae812ce75e177836067227da9dc71 (diff)
downloadaur-b26204d4db65d6220caf97d1fa5702b148570ec1.tar.gz
Update PKGBUILD
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD13
-rw-r--r--kwooty-frameworks-git.install8
3 files changed, 16 insertions, 13 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5169e6bbd05..5cdaff85e34 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index 0faa6c983db..e1effafb16c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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 71cabd6323f..ec506fa9330 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
}