blob: 3db839bf3c107567d4899341b317eafbd60a2db5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Maintainer:
# Contributor: Felix Golatofski <contact@xdfr.de>
# Contributor: robertfoster
_pkgname=akabeicore
pkgname=$_pkgname-git
pkgver=alpha2.r168.g925966a
pkgrel=1
pkgdesc="Core library for Akabei, Chakra’s package manager"
arch=('i686' 'x86_64')
url="https://code.chakralinux.org/chakra/akabei/akabeicore"
license=('GPL2')
depends=('kdelibs' 'libarchive' 'sqlite3')
makedepends=('cmake' 'automoc4' 'translate-toolkit' 'git')
source=("akabeicore::git+https://code.chakralinux.org/chakra/akabei/akabeicore.git")
md5sums=('SKIP')
pkgver() {
cd "$srcdir/akabeicore"
# cutting off 'akabeicore_' prefix that presents in the git tag
git describe --long | sed 's/^akabeicore_//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "$srcdir/akabeicore"
cmake . -DCMAKE_INSTALL_PREFIX=/usr
make || return 1
}
package() {
cd "$srcdir/akabeicore"
make DESTDIR="$pkgdir" install
}
|