diff options
author | justforlxz | 2022-03-20 01:20:29 +0800 |
---|---|---|
committer | justforlxz | 2022-03-20 01:20:29 +0800 |
commit | 04b18b10848e4640584b82f755cad4e0d6d8dd57 (patch) | |
tree | a23d966c3b418868236d8e6049d13829c98b8638 | |
parent | ea80ac84c8fb769233af677f29a8e57dc70dd221 (diff) | |
download | aur-04b18b10848e4640584b82f755cad4e0d6d8dd57.tar.gz |
update
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 13 |
2 files changed, 13 insertions, 5 deletions
@@ -1,9 +1,10 @@ pkgbase = dtkcore-git pkgdesc = DTK core modules - pkgver = 5.5.23.r5.g74f86b0 + pkgver = 5.5.23.r14.g6cb6070 pkgrel = 1 url = https://github.com/linuxdeepin/dtkcore arch = x86_64 + arch = aarch64 groups = deepin-git license = LGPL3 makedepends = git @@ -17,7 +18,7 @@ pkgbase = dtkcore-git depends = lshw provides = dtkcore conflicts = dtkcore - source = dtkcore-git::git://github.com/linuxdeepin/dtkcore.git + source = dtkcore-git::git+https://github.com/linuxdeepin/dtkcore.git sha512sums = SKIP pkgname = dtkcore-git @@ -1,10 +1,10 @@ # Maintainer: justforlxz <justforlxz@gmail.com> pkgname=dtkcore-git -pkgver=5.5.23.r5.g74f86b0 +pkgver=5.5.23.r14.g6cb6070 pkgrel=1 pkgdesc='DTK core modules' -arch=('x86_64') +arch=('x86_64' 'aarch64') url="https://github.com/linuxdeepin/dtkcore" license=('LGPL3') depends=('dconf' 'deepin-desktop-base-git' 'python' 'gsettings-qt' 'lshw') @@ -12,7 +12,7 @@ makedepends=('git' 'qt5-tools' 'gtest' 'dtkcommon-git') conflicts=('dtkcore') provides=('dtkcore') groups=('deepin-git') -source=("$pkgname::git://github.com/linuxdeepin/dtkcore.git") +source=("$pkgname::git+https://github.com/linuxdeepin/dtkcore.git") sha512sums=('SKIP') pkgver() { @@ -20,6 +20,13 @@ pkgver() { git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' } +prepare() { + cd $pkgname + if [[ ! -z ${sha} ]];then + git checkout -b $sha + fi +} + build() { cd $pkgname qmake-qt5 PREFIX=/usr DTK_VERSION=$pkgver LIB_INSTALL_DIR=/usr/lib |