PKGBUILD 769 Bytes
Newer Older
gnastyle's avatar
gnastyle committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
pkgname=plasma5-applets-separator
_name=Separator
pkgver=0.1
pkgrel=1
pkgdesc="Just a separator."
arch=('x86_64')
url="http://kde-apps.org/content/show.php/Separator?content=174531"
license=('GPL')
group=('plasma5-applets')
depends=('plasma-workspace' 'kdeclarative' 'kglobalaccel' 'kconfigwidgets' 'kxmlgui' 'kwindowsystem' 'kdoctools')
makedepends=('extra-cmake-modules')
source=("http://kde-apps.org/CONTENT/content-files/174531-Separator.tar.gz")
sha256sums=('26b4558e3e1ba0b4f20e1bfdf0d3a376cfbf42bdd3a654af6a6f492b40101156')
 
prepare() {
  cd "${_name}"
  mkdir -p build
}

build() {
  cd "${_name}/build"
 
  cmake .. \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DCMAKE_BUILD_TYPE=Release
}
 
package() {
  cd "${_name}"/build
 
  make install DESTDIR="${pkgdir}"
}