desktop/akabeiclient/PKGBUILD
2018-01-14 14:20:19 +01:00

34 lines
748 B
Bash

#
# Akabei Packages for Chakra, part of chakralinux.org
#
pkgname=akabeiclient
pkgver=alpha2.r60.g1d73b0f
pkgrel=1
pkgdesc='The backend library of akabei'
arch=('x86_64')
url='http://gitorious.org/chakra/akabeiclient'
license=('LGPL')
depends=('qt5-base' "akabeicore" 'gpgme' 'polkit-qt5' 'curl')
makedepends=(qt5-tools translate-toolkit)
source=(git+https://code.chakralinux.org/tools/akabei/akabeiclient.git)
sha256sums=('SKIP')
pkgver() {
cd $pkgname
git describe --long --tags | sed 's/^akabeiclient_//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd $pkgname
mkdir -p build/
cd build/
cmake -DCMAKE_INSTALL_PREFIX=/usr ..
make
}
package_akabeiclient() {
cd $pkgname/build
make DESTDIR=$pkgdir install
}