mirror of
https://gitlab.com/slonkazoid/pkgbuild-sway-slonk-git.git
synced 2024-10-18 10:42:30 +03:00
change name + updates
This commit is contained in:
parent
65741d6234
commit
7534468036
2 changed files with 12 additions and 12 deletions
8
.SRCINFO
8
.SRCINFO
|
@ -1,6 +1,6 @@
|
|||
pkgbase = sway-afy-git
|
||||
pkgdesc = sway-git, with added patches, including an env command
|
||||
pkgver = r7173.bb91b7f5_5.c59d6f6
|
||||
pkgbase = sway-slonk-git
|
||||
pkgdesc = my sway pkgbuild
|
||||
pkgver = r7175.a9086518_5.c59d6f6
|
||||
pkgrel = 1
|
||||
url = https://swaywm.org
|
||||
install = sway.install
|
||||
|
@ -42,4 +42,4 @@ pkgbase = sway-afy-git
|
|||
sha512sums = SKIP
|
||||
sha512sums = c2b7d808f4231f318e03789015624fd4cf32b81434b15406570b4e144c0defc54e216d881447e6fd9fc18d7da608cccb61c32e0e1fab2f1fe2750acf812d3137
|
||||
|
||||
pkgname = sway-afy-git
|
||||
pkgname = sway-slonk-git
|
||||
|
|
16
PKGBUILD
16
PKGBUILD
|
@ -1,12 +1,12 @@
|
|||
# Maintainer: Ali Furkan Yıldız <alifurkanyildiz@gmail.com>
|
||||
# sway-git Maintainer: Drew DeVault <sir@cmpwn.com>
|
||||
# sway-git Contributor: Antonin Décimo <antonin dot decimo at gmail dot com>
|
||||
pkgname=sway-afy-git
|
||||
pkgname=sway-slonk-git
|
||||
_pkgname=sway
|
||||
pkgver=r7173.bb91b7f5_5.c59d6f6
|
||||
pkgver=r7175.a9086518_5.c59d6f6
|
||||
pkgrel=1
|
||||
license=("MIT")
|
||||
pkgdesc="sway-git, with added patches, including an env command"
|
||||
pkgdesc="my sway pkgbuild"
|
||||
makedepends=(
|
||||
"git"
|
||||
"meson"
|
||||
|
@ -51,15 +51,15 @@ conflicts=("sway")
|
|||
options=(debug)
|
||||
install=sway.install
|
||||
|
||||
#CFLAGS="-pipe -march=x86-64 -mtune=generic -fno-omit-frame-pointer -fstack-protector-strong -fstack-clash-protection -fcf-protection -fsanitize=address"
|
||||
# For debugging
|
||||
#CFLAGS="-pipe -march=x86-64 -mtune=generic -fno-omit-frame-pointer -fstack-protector-strong -fstack-clash-protection -fcf-protection"
|
||||
#CXXFLAGS="${CFLAGS}"
|
||||
|
||||
pkgver() {
|
||||
cd "$_pkgname"
|
||||
rev_list_sway="$(git rev-list --count HEAD)"
|
||||
rev_parse_sway="$(git rev-parse --short HEAD)"
|
||||
cd ..
|
||||
cd "$_pkgname-patches"
|
||||
cd "../${_pkgname}-patches"
|
||||
rev_list_patches="$(git rev-list --count HEAD)"
|
||||
rev_parse_patches="$(git rev-parse --short HEAD)"
|
||||
printf "r%s.%s_%s.%s" "$rev_list_sway" "$rev_parse_sway" "$rev_list_patches" "$rev_parse_patches"
|
||||
|
@ -78,7 +78,7 @@ build() {
|
|||
meson setup \
|
||||
-Dsd-bus-provider=libsystemd \
|
||||
-Dwerror=false \
|
||||
-Dbuildtype=debug \
|
||||
-Dbuildtype=debugoptimized \
|
||||
-Dprefix=/usr \
|
||||
"$_pkgname" build
|
||||
meson compile -C build
|
||||
|
@ -94,6 +94,6 @@ package() {
|
|||
}
|
||||
|
||||
post_upgrade() {
|
||||
echo "Make sure to upgrade wlroots-git and sway-afy-git together."
|
||||
echo "Make sure to upgrade wlroots-git and sway-slonk-git together."
|
||||
echo "Upgrading one but not the other is unsupported."
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue