makedeb


rofi-git 19f0a8c92022.04.16-2


A window switcher, run dialog and dmenu replacement

Click here to go back to the commit logs for rofi-git.

Commit:


Hash: f8112ae211523f476f8c9fc134156db2b9728a1f

Message: added replace function

Diff


diff --git a/.SRCINFO b/.SRCINFO
index 235d8d7..af616d9 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -42,6 +42,7 @@ pkgbase = rofi-git
 	depends = libxcb-xinerama0-dev
 	provides = rofi
 	conflicts = rofi
+	replaces = rofi
 	source = git+https://github.com/DaveDavenport/rofi#branch=next
 	source = git+https://github.com/sardemff7/libgwater
 	source = git+https://github.com/sardemff7/libnkutils
diff --git a/PKGBUILD b/PKGBUILD
index 1f787e8..9266a97 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,5 +1,6 @@
 # Maintainer: only_vip <onlyme_vip@protonmail.com>
 pkgname=rofi-git
+_pkgname=rofi
 pkgver=1.6.1.r137.gb7dfb423
 pkgrel=1
 pkgdesc='A window switcher, run dialog and dmenu replacement'
@@ -9,8 +10,9 @@ license=('MIT')
 depends=( 'freetype2-demos' 'libjpeg-dev' 'librsvg2-dev' 'libx11-dev' 'libxcb1-dev' 'libxdg-basedir-dev' 'libxft-dev' 'libxkbcommon-dev' 'libxkbcommon-x11-dev' 'libpango1.0-dev' 'libstartup-notification0-dev' 'libglib2.0-dev' 'libcairo-dev' 'libpango1.0-dev' 'libxkbcommon-dev' 'libgdk-pixbuf2.0-dev' 'libxcb-util0-dev' 'libxcb-xkb-dev' 'libxkbcommon-x11-dev' 'libxcb-ewmh-dev' 'libxcb-icccm4-dev' 'libxcb-cursor-dev' 'libstartup-notification0-dev' 'libxcb-xrm-dev' 'libxcb-randr0-dev' 'libxcb-randr0-dev' 'libxcb-xinerama0-dev')
 makedepends=('git' 'meson' 'flex' 'bison' 'ninja-build')
 checkdepends=('check')
-provides=("${pkgname/-git}")
-conflicts=("${pkgname/-git}")
+provides=("${_pkgname}")
+conflicts=("${_pkgname}")
+replaces=("${_pkgname}")
 source=(
   'git+https://github.com/DaveDavenport/rofi#branch=next'
   'git+https://github.com/sardemff7/libgwater'