mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
35 lines
755 B
Bash
35 lines
755 B
Bash
#
|
|
# Chakra Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer abveritas[at]chakra-project[dot]org>
|
|
|
|
pkgname=skanlite
|
|
pkgver=1.1
|
|
pkgrel=2
|
|
pkgdesc="Image Scanning Application for KDE"
|
|
arch=('x86_64')
|
|
url='http://www.kde.org'
|
|
license=('LGPL')
|
|
depends=('kdegraphics-libksane' 'kde-runtime' )
|
|
makedepends=('pkgconfig' 'cmake' 'automoc4' 'docbook-xsl')
|
|
categories=('graphics')
|
|
options=('docs')
|
|
source=("http://download.kde.org/stable/$pkgname/$pkgver/src/$pkgname-$pkgver.tar.xz")
|
|
md5sums=('21cd642d4177fff759bf4694af39b9fe')
|
|
|
|
build() {
|
|
cd $pkgname-$pkgver
|
|
mkdir build
|
|
cd build
|
|
cmake .. \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_PREFIX=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd $pkgname-$pkgver/build
|
|
|
|
make DESTDIR=$pkgdir install
|
|
}
|