diff options
author | Felix Golatofski | 2020-06-03 21:53:18 +0200 |
---|---|---|
committer | Felix Golatofski | 2020-06-03 21:53:18 +0200 |
commit | 2318b504f717a6f44ae27b70ad0ef4fdc33c4e22 (patch) | |
tree | f069ce19f2c9e18b02bf322c48beba94fb8ce48e | |
parent | 5b8748a3ef9e6f67ba963112c579b780f326c0a2 (diff) | |
download | aur-akabeicore-git.tar.gz |
Updated: PKGBUILD
-rw-r--r-- | .SRCINFO | 10 | ||||
-rw-r--r-- | PKGBUILD | 35 |
2 files changed, 23 insertions, 22 deletions
@@ -1,13 +1,11 @@ -# Generated by mksrcinfo v8 -# Sat Nov 18 19:01:55 UTC 2017 pkgbase = akabeicore-git pkgdesc = Core library for Akabei, Chakra’s package manager - pkgver = 579.0c9c444 + pkgver = alpha2.r168.g925966a pkgrel = 1 - url = https://gitorious.org/chakra/akabeicore + url = https://code.chakralinux.org/chakra/akabei/akabeicore arch = i686 arch = x86_64 - license = GPL + license = GPL2 makedepends = cmake makedepends = automoc4 makedepends = translate-toolkit @@ -15,7 +13,7 @@ pkgbase = akabeicore-git depends = kdelibs depends = libarchive depends = sqlite3 - source = akabeicore::git://gitorious.org/chakra/akabeicore.git + source = akabeicore::git+https://code.chakralinux.org/chakra/akabei/akabeicore.git md5sums = SKIP pkgname = akabeicore-git @@ -1,30 +1,33 @@ -# Maintainer: robertfoster +# Maintainer: +# Contributor: Felix Golatofski <contact@xdfr.de> +# Contributor: robertfoster -pkgname=akabeicore-git -pkgver=579.0c9c444 +_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://gitorious.org/chakra/akabeicore" -license=('GPL') +url="https://code.chakralinux.org/chakra/akabei/akabeicore" +license=('GPL2') depends=('kdelibs' 'libarchive' 'sqlite3') makedepends=('cmake' 'automoc4' 'translate-toolkit' 'git') -source=("akabeicore::git://gitorious.org/chakra/akabeicore.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 akabeicore + cd "$srcdir/akabeicore" cmake . -DCMAKE_INSTALL_PREFIX=/usr make || return 1 } -package() { - cd akabeicore - make DESTDIR=$pkgdir install -} -pkgver() { - cd akabeicore - echo $(git rev-list --count master).$(git rev-parse --short master) +package() { + cd "$srcdir/akabeicore" + make DESTDIR="$pkgdir" install } - -md5sums=('SKIP') |