diff options
author | justforlxz | 2022-12-29 15:22:15 +0800 |
---|---|---|
committer | justforlxz | 2022-12-29 15:22:15 +0800 |
commit | f476fb213b5dbd2c29f93c63cf402a3a225e8236 (patch) | |
tree | 4a10832beb314e344e14e7f46689933718c0853f | |
parent | aa366d7e9ca8c5e0802c3e45de9bfb74f1905455 (diff) | |
download | aur-f476fb213b5dbd2c29f93c63cf402a3a225e8236.tar.gz |
update
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 11 |
2 files changed, 8 insertions, 7 deletions
@@ -1,7 +1,7 @@ pkgbase = dtkcommon-git pkgdesc = DTK common modules pkgver = 5.6.3.r1.g3781d33 - pkgrel = 1 + pkgrel = 2 url = https://github.com/linuxdeepin/dtkcommon arch = x86_64 arch = aarch64 @@ -14,7 +14,7 @@ pkgbase = dtkcommon-git makedepends = cmake makedepends = ninja conflicts = dtkcommon - source = dtkcommon-git::git+https://github.com/linuxdeepin/dtkcommon + source = git+https://github.com/linuxdeepin/dtkcommon sha512sums = SKIP pkgname = dtkcommon-git @@ -1,8 +1,9 @@ # Maintainer: justforlxz <justforlxz@gmail.com> pkgname=dtkcommon-git +_pkgname=dtkcommon pkgver=5.6.3.r1.g3781d33 -pkgrel=1 +pkgrel=2 pkgdesc='DTK common modules' arch=('x86_64' 'aarch64') url="https://github.com/linuxdeepin/dtkcommon" @@ -12,16 +13,16 @@ makedepends=('git' 'qt5-tools' 'gtest' 'gmock' 'cmake' 'ninja') conflicts=('dtkcommon') providers=('dtkcommon') groups=('deepin-git') -source=("$pkgname::git+https://github.com/linuxdeepin/dtkcommon") +source=("git+https://github.com/linuxdeepin/dtkcommon") 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 \ -DCMAKE_INSTALL_LIBDIR=/usr/lib \ -DLINUXNAME="archlinux" \ @@ -30,6 +31,6 @@ build() { } package() { - cd $pkgname/build + cd $srcdir/$_pkgname/build DESTDIR="$pkgdir" ninja install } |