summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorredtide2023-12-31 00:20:18 +0100
committerredtide2023-12-31 00:20:18 +0100
commit50abbccdf43815f44e5d53f643e8e40e5a4b9b33 (patch)
tree9e9d7a62080f4ba759fb813470a28a95363acf22
parentecc7abf6b7bb0e9f798546c384e7bc7e4a611de7 (diff)
downloadaur-50abbccdf43815f44e5d53f643e8e40e5a4b9b33.tar.gz
Get translations from qtilities-i18n
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD8
2 files changed, 7 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d12b7d5cc361..5f14a2be0c38 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = colorpick-git
pkgdesc = Color picker and contrast checker
- pkgver = r87.727df35
+ pkgver = r90.8d0efbf
pkgrel = 1
url = https://github.com/qtilities/colorpick
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index fd5cfdf59946..03f997a40ac7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
_pkgname=colorpick
pkgname=$_pkgname-git
-pkgver=r87.727df35
+pkgver=r90.8d0efbf
pkgrel=1
pkgdesc="Color picker and contrast checker"
url=https://github.com/qtilities/$_pkgname
@@ -30,7 +30,8 @@ pkgver() {
)
}
-build() {
+prepare() {
+ # Configure in prepare() because downloading translations via git with CMake
local cmake_options=(
-B build
-D CMAKE_BUILD_TYPE=None
@@ -39,6 +40,9 @@ build() {
-W no-dev
)
cmake "${cmake_options[@]}"
+}
+
+build() {
cmake --build build --verbose
}