desktop/akabeiclient/PKGBUILD

34 lines
748 B
Bash
Raw Normal View History

2018-01-14 21:20:19 +08:00
#
# Akabei Packages for Chakra, part of chakralinux.org
#
pkgname=akabeiclient
pkgver=alpha2.r60.g1d73b0f
2012-12-21 07:13:49 +08:00
pkgrel=1
2012-08-29 06:43:43 +08:00
pkgdesc='The backend library of akabei'
2012-12-21 07:13:49 +08:00
arch=('x86_64')
2012-08-29 06:43:43 +08:00
url='http://gitorious.org/chakra/akabeiclient'
license=('LGPL')
2018-01-14 21:20:19 +08:00
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'
}
2012-08-29 06:43:43 +08:00
build() {
2018-01-14 21:20:19 +08:00
cd $pkgname
mkdir -p build/
cd build/
cmake -DCMAKE_INSTALL_PREFIX=/usr ..
make
2012-08-29 06:43:43 +08:00
}
2012-08-29 06:55:43 +08:00
package_akabeiclient() {
2018-01-14 21:20:19 +08:00
cd $pkgname/build
make DESTDIR=$pkgdir install
2012-08-29 06:43:43 +08:00
}