aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraqua <aqua@iserlohn-fortress.net>2024-04-23 12:36:54 +0300
committeraqua <aqua@iserlohn-fortress.net>2024-04-23 12:36:54 +0300
commit42a8d05ddbb22e5e511261e146cc49a5331b882b (patch)
tree623eb6fd8da86f2ed7574b788c77026742c32dc4
parentPorted to qt6 (diff)
downloadsmolbote-42a8d05ddbb22e5e511261e146cc49a5331b882b.tar.xz
Updated PKGBUILD
-rw-r--r--linux/makepkg/PKGBUILD24
1 files changed, 6 insertions, 18 deletions
diff --git a/linux/makepkg/PKGBUILD b/linux/makepkg/PKGBUILD
index 34d54ef..39aa84b 100644
--- a/linux/makepkg/PKGBUILD
+++ b/linux/makepkg/PKGBUILD
@@ -3,16 +3,12 @@
## not-use flags
# Enable plugin signing:
_signPlugins=0
-# test
-_test=0
-_branch=devel
-_optimized=0
# install prefix
_prefix='/usr'
pkgname=smolbote-git
pkgdesc='Yet another no-frills browser'
-pkgver=r638.be627c1
+pkgver=0
pkgrel=1
url="https://neueland.iserlohn-fortress.net/gitea/smolbote"
@@ -34,33 +30,25 @@ options=(!buildflags)
source=("git+https://neueland.iserlohn-fortress.net/cgit/smolbote"
"https://github.com/itay-grudev/SingleApplication/archive/refs/tags/v3.5.1.tar.gz"
"https://neueland.iserlohn-fortress.net/releases/args.hxx-6.2.2.tar.xz"{,.sig})
-if [ $_optimized == "1" ]; then
- source+=(meson.build.diff)
-fi
b2sums=('SKIP'
'924cef0b6aeb76aace3444f46141acb58c5f5019e1e09c78e1b1d973f1689283b5f5f7612dc58dc542fc04364197128f2f3f9e1a97b8b78e704fae5d995a8eca'
'440e357006883fbf1b1a796051500a6b068858a35947cd1119767bed8e0a86a7db4aff16498934d7217c375fe643da03c22007e438f30899e247153f25c922b6'
'SKIP')
-validpgpkeys=('BB1C090188E3E32B375C13FD095DE26BC16D2E98')
+validgpgkeys=(BB1C090188E3E32B375C13FD095DE26BC16D2E98) # Aqua-sama <aqua@iserlohn-fortress.net>
prepare() {
mkdir "$srcdir/smolbote/subprojects/packagecache/"
ln -s "$srcdir/SingleApplication-3.5.1" "$srcdir/smolbote/subprojects/"
ln -s "$srcdir/args.hxx-6.2.2" "$srcdir/smolbote/subprojects/"
- cd $srcdir/smolbote
-
- if [ $_test == "1" ]; then
- git checkout ${_branch}
- fi
+ msg2 "Patching SingleApplication"
+ cp "$srcdir/smolbote/subprojects/packagefiles/SingleApplication/meson.build" "$srcdir/SingleApplication-3.5.1/"
+ cp "$srcdir/smolbote/subprojects/packagefiles/SingleApplication/meson_options.txt" "$srcdir/SingleApplication-3.5.1/"
+ cd $srcdir/smolbote
KCONFIG_CONFIG=linux/.config alldefconfig
-
-if [ $_optimized == "1" ]; then
- patch -p1 -i ${srcdir}/meson.build.diff
-fi
}
pkgver() {