diff options
author | root <root@rshg054.dnsready.net> | 2013-08-20 02:15:20 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-08-20 02:15:20 -0700 |
commit | 1ae31a85e191bbf7313077b472a66d1c24af1f74 (patch) | |
tree | 91f021858c2e33e1a6633c12b80e54105fd7500b /extra/kdenetwork-kget | |
parent | 26606f981048ee9efcda690b619d3c53501a7a58 (diff) |
Tue Aug 20 02:14:51 PDT 2013
Diffstat (limited to 'extra/kdenetwork-kget')
-rw-r--r-- | extra/kdenetwork-kget/PKGBUILD | 31 | ||||
-rw-r--r-- | extra/kdenetwork-kget/kdenetwork-kget.install | 12 |
2 files changed, 43 insertions, 0 deletions
diff --git a/extra/kdenetwork-kget/PKGBUILD b/extra/kdenetwork-kget/PKGBUILD new file mode 100644 index 000000000..c895bc045 --- /dev/null +++ b/extra/kdenetwork-kget/PKGBUILD @@ -0,0 +1,31 @@ +# $Id$ +# Maintainer: Andrea Scarpino <andrea@archlinux.org> + +pkgname=kdenetwork-kget +pkgver=4.11.0 +pkgrel=1 +pkgdesc='Download Manager' +url='http://kde.org/applications/internet/kget/' +arch=('i686' 'x86_64') +license=('GPL' 'LGPL' 'FDL') +groups=('kde' 'kdenetwork') +depends=('kdebase-workspace' 'kdebase-lib' 'libktorrent' 'libmms' 'gpgme' 'nepomuk-widgets') +makedepends=('cmake' 'automoc4' 'boost') +install=${pkgname}.install +source=("http://download.kde.org/stable/${pkgver}/src/kget-${pkgver}.tar.xz") +sha1sums=('a31afa2747a50edbd20fe785e75c8746e0684c83') + +build() { + mkdir build + cd build + cmake ../kget-${pkgver} \ + -DCMAKE_BUILD_TYPE=Release \ + -DKDE4_BUILD_TESTS=OFF \ + -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package() { + cd build + make DESTDIR=$pkgdir install +} diff --git a/extra/kdenetwork-kget/kdenetwork-kget.install b/extra/kdenetwork-kget/kdenetwork-kget.install new file mode 100644 index 000000000..5495fb1b5 --- /dev/null +++ b/extra/kdenetwork-kget/kdenetwork-kget.install @@ -0,0 +1,12 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} |