A new user interface for you! Read more...

File PKGBUILD of Package kwooty-frameworks-git

# Maintainer: Gustavo Alvarez <sl1pkn07@gmail.com>
# Contributor: Jimmy Bergstrom <thekwarf@gmail.com>
# Contributor: BlackEagle < ike DOT devolder AT gmail DOT com >

pkgname=kwooty-frameworks-git
pkgver=1.1.0.r1223.586cab9
pkgrel=1
pkgdesc="A friendly nzb usenet binary downloader for KDE. KF5 frameworks branch (GIT Version)"
arch=('i686' 'x86_64')
url="http://kwooty.sourceforge.net/"
license=('GPL')
depends=('kdelibs4support' 'kcmutils' 'hicolor-icon-theme' 'knotifyconfig')
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=(kwooty-$pkgver.tar.xz)
sha1sums=('SKIP')

prepare() {
  mkdir -p build
}

build() {
  cd build
  cmake ../kwooty-$pkgver \
    -DCMAKE_BUILD_TYPE=Release \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DLIB_INSTALL_DIR=lib \
    -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
  make
}

package() {
  make -C build DESTDIR="${pkgdir}" install
}