summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorZhang, DingYuan2020-09-06 21:44:43 +0800
committerZhang, DingYuan2020-09-06 21:44:43 +0800
commit537e45e9c2b88cec9f9375c508deb2efc39efc1f (patch)
tree6c9970fce43ca33ba91aa6eff74ba05d2e7b2dc3
parent935571d9b06f754bf97d5daae1ef891abee89aa2 (diff)
downloadaur-537e45e9c2b88cec9f9375c508deb2efc39efc1f.tar.gz
update
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD16
2 files changed, 11 insertions, 11 deletions
diff --git a/.SRCINFO b/.SRCINFO
index dc1d07e7f4e..5830e5218d9 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = dtkwidget-git
pkgdesc = Deepin graphical user interface library
- pkgver = 5.2.2.3.r3.g4750dbfe
- pkgrel = 2
+ pkgver = 5.2.2.10.r2.gc4932fb3
+ pkgrel = 1
url = https://github.com/linuxdeepin/dtkwidget
arch = x86_64
groups = deepin-git
@@ -19,7 +19,7 @@ pkgbase = dtkwidget-git
provides = dtkwidget
conflicts = dtkwidget
replaces = dtkwidget
- source = git://github.com/linuxdeepin/dtkwidget.git
+ source = dtkwidget-git::git://github.com/linuxdeepin/dtkwidget.git
sha512sums = SKIP
pkgname = dtkwidget-git
diff --git a/PKGBUILD b/PKGBUILD
index 9975ceda787..301f1587942 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,8 @@
# Maintainer: Haruyuki lxz <lxz@ilxz.me>
pkgname=dtkwidget-git
-pkgver=5.2.2.3.r3.g4750dbfe
-pkgrel=2
+pkgver=5.2.2.10.r2.gc4932fb3
+pkgrel=1
pkgdesc='Deepin graphical user interface library'
arch=('x86_64')
url="https://github.com/linuxdeepin/dtkwidget"
@@ -14,26 +14,26 @@ replaces=('dtkwidget')
conflicts=('dtkwidget')
provides=('dtkwidget')
groups=('deepin-git')
-source=("git://github.com/linuxdeepin/dtkwidget.git")
+source=("$pkgname::git://github.com/linuxdeepin/dtkwidget.git")
sha512sums=('SKIP')
pkgver() {
- cd dtkwidget
+ cd $pkgname
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {
- cd dtkwidget
+ cd $pkgname
sed -i '/#include <QPainter>/a #include <QPainterPath>' src/util/dwidgetutil.cpp
}
build() {
- cd dtkwidget
+ cd $pkgname
qmake-qt5 PREFIX=/usr
- make
+ make -j$(nproc)
}
package() {
- cd dtkwidget
+ cd $pkgname
make INSTALL_ROOT="$pkgdir" install
}