desktop/akabei/PKGBUILD

35 lines
784 B
Bash
Raw Normal View History

2018-01-14 21:20:19 +08:00
#
# Akabei Packages for Chakra, part of chakralinux.org
#
pkgname=akabei
pkgver=alpha2.r112.g9a4a60b
2012-12-21 07:13:49 +08:00
pkgrel=1
2012-08-29 06:58:33 +08:00
pkgdesc='The package manager of The Chakra Project'
2012-12-21 07:13:49 +08:00
arch=('x86_64')
url='https://code.chakralinux.org/tools/akabei/akabei'
2012-08-29 06:58:33 +08:00
license=('LGPL')
2018-01-14 21:20:19 +08:00
depends=('qt5-base' "akabeicore" "akabeiclient" 'gpgme' 'python2-pysqlite')
makedepends=(qt5-tools translate-toolkit asciidoc)
2018-01-14 21:20:19 +08:00
source=(git+https://code.chakralinux.org/tools/akabei/akabei.git)
sha256sums=('SKIP')
2012-08-29 06:58:33 +08:00
install=akabei.install
2018-01-14 21:20:19 +08:00
pkgver() {
cd $pkgname
git describe --long --tags | sed 's/^akabei_//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
2012-08-29 06:58:33 +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:58:33 +08:00
}
2012-08-29 07:12:06 +08:00
package() {
2018-01-14 21:20:19 +08:00
cd $pkgname/build
make DESTDIR=$pkgdir install
2012-08-29 06:58:33 +08:00
}