desktop/packabei/PKGBUILD

28 lines
653 B
Bash
Raw Normal View History

2013-06-16 20:44:08 +08:00
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
}