diff options
author | justforlxz | 2022-12-29 15:27:03 +0800 |
---|---|---|
committer | justforlxz | 2022-12-29 15:27:03 +0800 |
commit | b09c40fbb8dd484999a30ae5ecbc443fc89b2f6c (patch) | |
tree | 10e1e81a04c79065aae9244f3e2317fde948119d | |
parent | e85952553e4279f3f52d679dd75a6887c5f6a1d5 (diff) | |
download | aur-b09c40fbb8dd484999a30ae5ecbc443fc89b2f6c.tar.gz |
update
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 9 |
2 files changed, 6 insertions, 5 deletions
@@ -27,7 +27,7 @@ pkgbase = dtkgui-git depends = freeimage provides = dtkgui conflicts = dtkgui - source = dtkgui-git::git+https://github.com/linuxdeepin/dtkgui + source = git+https://github.com/linuxdeepin/dtkgui.git sha512sums = SKIP pkgname = dtkgui-git @@ -1,6 +1,7 @@ # Maintainer: justforlxz <justforlxz@gmail.com> pkgname=dtkgui-git +_pkgname=dtkgui pkgver=5.6.3.r8.ga69ed2e pkgrel=1 pkgdesc='Deepin Toolkit, gui module for DDE look and feel' @@ -12,16 +13,16 @@ makedepends=('git' 'qt5-tools' 'dtkcommon-git' 'dtkcore-git' 'librsvg' 'qt5-x11e conflicts=('dtkgui') provides=('dtkgui') groups=('deepin-git') -source=("$pkgname::git+https://github.com/linuxdeepin/dtkgui") +source=("git+https://github.com/linuxdeepin/dtkgui.git") sha512sums=('SKIP') pkgver() { - cd $pkgname + cd $srcdir/$_pkgname git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' } build() { - cd $pkgname + cd $srcdir/$_pkgname cmake -B build -GNinja \ -DNOTPACKAGE=OFF \ -DMKSPECS_INSTALL_DIR=lib/qt/mkspecs/modules/ \ @@ -34,6 +35,6 @@ build() { } package() { - cd $pkgname/build + cd $srcdir/$_pkgname/build DESTDIR="$pkgdir" ninja install } |