desktop/akabeiclient/PKGBUILD
2018-12-12 20:56:40 +01:00

34 lines
802 B
Bash

#
# Akabei Packages for Chakra, part of chakralinux.org
#
pkgname=akabeiclient
pkgver=alpha2.r72.g1ad9953
pkgrel=1
pkgdesc='The backend library of akabei'
arch=('x86_64')
url='https://code.chakralinux.org/chakra/tools/akabei/akabeiclient'
license=('LGPL')
depends=('qt5-base' 'akabeicore' 'gpgme' 'polkit-qt5' 'curl')
makedepends=(qt5-tools translate-toolkit cmake)
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 -DCMAKE_INSTALL_LIBDIR=lib ..
make
}
package_akabeiclient() {
cd $pkgname/build
make DESTDIR=$pkgdir install
}