mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
28 lines
653 B
Bash
28 lines
653 B
Bash
pkgname=packabei
|
|
pkgver=1.0
|
|
pkgrel=1
|
|
pkgdesc="Tool to edit and manage Chakra package sources."
|
|
arch=('x86_64')
|
|
url="https://gitorious.org/packabei/packabei"
|
|
license=('AGPL3')
|
|
depends=('kdelibs' 'qt')
|
|
makedepends=('cmake' 'automoc4')
|
|
source=(https://downloads.sourceforge.net/project/${pkgname}/${pkgname}-${pkgver}.tar.xz)
|
|
md5sums=('dab2cea866b6a4c33331b55aadbbb715')
|
|
|
|
build() {
|
|
cd ${srcdir}/$pkgname-${pkgver}
|
|
|
|
mkdir -p build && cd build
|
|
cmake \
|
|
-DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` \
|
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
|
..
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd ${srcdir}/$pkgname-${pkgver}/build
|
|
make DESTDIR=${pkgdir} install
|
|
}
|