mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-10 11:24:39 +08:00
34 lines
747 B
Bash
34 lines
747 B
Bash
#
|
|
# Akabei Packages for Chakra, part of chakralinux.org
|
|
#
|
|
pkgname=akabeicore
|
|
pkgver=alpha2.r154.gff67452
|
|
pkgrel=1
|
|
pkgdesc='The core library of akabei'
|
|
arch=('x86_64')
|
|
url='https://code.chakralinux.org/tools/akabei/akabeicore'
|
|
license=('LGPL')
|
|
depends=('qt5-base' 'libarchive>=3.1.2' 'sqlite3' 'polkit-qt5')
|
|
makedepends=(gmock qt5-tools translate-toolkit)
|
|
source=(git+https://code.chakralinux.org/tools/akabei/akabeicore.git)
|
|
sha256sums=('SKIP')
|
|
|
|
pkgver() {
|
|
cd $pkgname
|
|
git describe --long --tags | sed 's/^akabeicore_//;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
|
|
}
|
|
|