mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-25 02:52:13 +08:00
37 lines
941 B
Bash
37 lines
941 B
Bash
|
#
|
||
|
# Chakra Packages for Chakra, part of chakra-project.org
|
||
|
#
|
||
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
||
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
||
|
|
||
|
# include global config
|
||
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||
|
|
||
|
pkgname=basket
|
||
|
pkgver=1.80
|
||
|
pkgrel=1
|
||
|
pkgdesc="All-purpose notes taker for KDE."
|
||
|
arch=('i686' 'x86_64')
|
||
|
url="http://basket.kde.org/"
|
||
|
depends=('kdelibs' 'gpgme' 'qimageblitz' 'hicolor-icon-theme')
|
||
|
makedepends=('cmake' 'automoc4')
|
||
|
install=$pkgname.install
|
||
|
license=('GPL')
|
||
|
source=(http://basket.kde.org/downloads/$pkgname-$pkgver.tar.bz2)
|
||
|
md5sums=('77467400907e6f496ef5f90a2f1c07ab')
|
||
|
|
||
|
build() {
|
||
|
cd $srcdir/$pkgname-$pkgver
|
||
|
cmake ../${pkgbase}-${pkgver} \
|
||
|
-DCMAKE_BUILD_TYPE=Release \
|
||
|
-DCMAKE_SKIP_RPATH=ON \
|
||
|
-DCMAKE_INSTALL_PREFIX=/usr
|
||
|
|
||
|
make || return 1
|
||
|
}
|
||
|
|
||
|
package() {
|
||
|
cd $srcdir/$pkgname-$pkgver
|
||
|
make DESTDIR=$startdir/pkg install
|
||
|
}
|