basket 2.49

This commit is contained in:
AlmAck 2018-07-10 22:14:38 +02:00
parent 26c3a8e2d7
commit a2503b28e8

View File

@ -1,33 +1,35 @@
#
# Chakra Packages for Chakra, part of chakra-project.org
# Chakra Packages for Chakra, part of chakralinux.org
#
pkgname=basket
pkgver=1.81
pkgrel=4
_pkgver=2.49
pkgver=${_pkgver}a
pkgrel=1
pkgdesc="All-purpose notes taker for KDE."
arch=('x86_64')
url="http://basket.kde.org/"
depends=('kdelibs' 'gpgme' 'qimageblitz' 'hicolor-icon-theme')
makedepends=('cmake' 'automoc4')
categories=('utils')
url="https://basket-notepads.github.io/"
depends=('kcmutils' 'kfilemetadata' 'kparts')
makedepends=('extra-cmake-modules' 'kdoctools' 'frameworkintegration' 'kdelibs4support')
license=('GPL')
source=(http://basket.kde.org/downloads/$pkgname-$pkgver.tar.bz2)
md5sums=('cbb1bc5ca7c2ad1485c433c00a8f65a1')
source=(https://launchpad.net/basket/kde5/$pkgver/+download/basket-$_pkgver-alpha.tar.bz2)
sha1sums=('2488581df9fa83a033be91c3c8bfb18735378c46')
prepare() {
mkdir -p build
}
build() {
cd $pkgname-$pkgver
mkdir build
cd build
cmake .. \
cmake ../$pkgname-$_pkgver-alpha \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_SKIP_RPATH=ON \
-DCMAKE_INSTALL_PREFIX=/usr
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_TESTING=OFF
make
}
package() {
cd $pkgname-$pkgver/build
make DESTDIR=$pkgdir install
cd build
make DESTDIR="${pkgdir}" install
}