desktop/akabei/PKGBUILD

35 lines
784 B
Bash

#
# Akabei Packages for Chakra, part of chakralinux.org
#
pkgname=akabei
pkgver=alpha2.r112.g9a4a60b
pkgrel=1
pkgdesc='The package manager of The Chakra Project'
arch=('x86_64')
url='https://code.chakralinux.org/tools/akabei/akabei'
license=('LGPL')
depends=('qt5-base' "akabeicore" "akabeiclient" 'gpgme' 'python2-pysqlite')
makedepends=(qt5-tools translate-toolkit asciidoc)
source=(git+https://code.chakralinux.org/tools/akabei/akabei.git)
sha256sums=('SKIP')
install=akabei.install
pkgver() {
cd $pkgname
git describe --long --tags | sed 's/^akabei_//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd $pkgname
mkdir -p build/
cd build/
cmake -DCMAKE_INSTALL_PREFIX=/usr ..
make
}
package() {
cd $pkgname/build
make DESTDIR=$pkgdir install
}